RTI Connext Micro C API Version 4.2.0
Loading...
Searching...
No Matches
OSAPI_ThreadProperty Struct Reference

Properties for thread creation. More...

#include <osapi_thread.h>

Data Fields

RTI_UINT32 stack_size
 Hint on required stack-size in bytes. The special value OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE means do not set the stack-size and rely on the OS defaults.
 
RTI_INT32 priority
 Hint on required priority. A value >=0 is used as is, and negative value is mapped according to the platform documentation.
 
OSAPI_ThreadOptions options
 Hint for thread creation to the OS.
 

Detailed Description

Properties for thread creation.

Field Documentation

◆ stack_size

RTI_UINT32 OSAPI_ThreadProperty::stack_size

Hint on required stack-size in bytes. The special value OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE means do not set the stack-size and rely on the OS defaults.

◆ priority

RTI_INT32 OSAPI_ThreadProperty::priority

Hint on required priority. A value >=0 is used as is, and negative value is mapped according to the platform documentation.

◆ options

OSAPI_ThreadOptions OSAPI_ThreadProperty::options

Hint for thread creation to the OS.