Using the _MULTI_THREADED preprocessor definition

The _MULTI_THREADED preprocessor value is used to indicate that your application uses the kernel threads model. The preprocessor value can also be used by other parts of the system to create threadsafe macros. For example, the fputc() macro of ILE C can use the _MULTI_THREADED preprocessor value. You should always define the _MULTI_THREADED preprocessor value in source files that run in kernel threaded jobs.


Pthread APIs | APIs by category