Skip to content

IntergatedCircuits/threadx-mcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AzureRTOS (ThreadX) Modern C++ Wrappers

License

threadx-mcpp is a C++ wrapper library that allows developers to use the ubiquitous ThreadX kernel while simplifying its use by a new API that closely follows the C++ standard classes.

Features

  • No virtual classes, the wrapper classes accurately encapsulate the underlying data structures
  • Public API closely matches the standard C++ thread support library

Compatibility

  • C++11 and above
  • Tested with ThreadX 6.1.7, its public API is stable enough to enable the use on a wide range of versions

Porting

This library requires certain configuration values to be set for correct operation. Consider the recommended settings for tx_user.h:

// required as long as TX_DISABLE_NOTIFY_CALLBACKS is NOT defined
// used for thread termination signalling, see thread::join
#define TX_THREAD_USER_EXTENSION       void* entry_exit_param_;

About

Wrapping ThreadX in modern C++ classes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages