RTI Connext Micro C API Version 4.2.0
Loading...
Searching...
No Matches
OSAPI Thread API

OSAPI Thread API. More...

Data Structures

struct  OSAPI_ThreadProperty
 Properties for thread creation. More...
 

Macros

#define OSAPI_THREAD_PRIORITY_LOW   -1
 Low priority.
 
#define OSAPI_THREAD_PRIORITY_BELOW_NORMAL   -2
 Below normal priority.
 
#define OSAPI_THREAD_PRIORITY_NORMAL   -3
 Normal priority.
 
#define OSAPI_THREAD_PRIORITY_ABOVE_NORMAL   -4
 Above normal priority.
 
#define OSAPI_THREAD_PRIORITY_HIGH   -5
 High priority.
 
#define OSAPI_THREAD_PRIORITY_INHERIT   -6
 Use the same priority as the spawning thread. Only applies to POSIX.
 
#define OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE   0
 Use the default stack size when creating a thread.
 
#define OSAPI_THREAD_DEFAULT_OPTIONS   0x00
 Use only the default options the OS gives you.
 
#define OSAPI_THREAD_FLOATING_POINT   0x01
 Hint to the OS to create a thread that supports floating point.
 
#define OSAPI_THREAD_STDIO   0x02
 Hint to the OS to create a thread that supports standard I/O.
 
#define OSAPI_THREAD_REALTIME_PRIORITY   0x08
 Hint to the OS to create a thread that runs in real-time priority mode.
 
#define OSAPI_THREAD_PROPERTY_DEFAULT
 Default thread properties.
 
#define OSAPI_ThreadProperty_INITIALIZER   OSAPI_THREAD_PROPERTY_DEFAULT
 Initializer for OSAPI_ThreadProperty.
 

Typedefs

typedef RTI_UINT32 OSAPI_ThreadOptions
 Thread options.
 

Detailed Description

OSAPI Thread API.

Macro Definition Documentation

◆ OSAPI_THREAD_PRIORITY_LOW

#define OSAPI_THREAD_PRIORITY_LOW   -1

Low priority.

◆ OSAPI_THREAD_PRIORITY_BELOW_NORMAL

#define OSAPI_THREAD_PRIORITY_BELOW_NORMAL   -2

Below normal priority.

◆ OSAPI_THREAD_PRIORITY_NORMAL

#define OSAPI_THREAD_PRIORITY_NORMAL   -3

Normal priority.

◆ OSAPI_THREAD_PRIORITY_ABOVE_NORMAL

#define OSAPI_THREAD_PRIORITY_ABOVE_NORMAL   -4

Above normal priority.

◆ OSAPI_THREAD_PRIORITY_HIGH

#define OSAPI_THREAD_PRIORITY_HIGH   -5

High priority.

◆ OSAPI_THREAD_PRIORITY_INHERIT

#define OSAPI_THREAD_PRIORITY_INHERIT   -6

Use the same priority as the spawning thread. Only applies to POSIX.

◆ OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE

#define OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE   0

Use the default stack size when creating a thread.

◆ OSAPI_THREAD_DEFAULT_OPTIONS

#define OSAPI_THREAD_DEFAULT_OPTIONS   0x00

Use only the default options the OS gives you.

◆ OSAPI_THREAD_FLOATING_POINT

#define OSAPI_THREAD_FLOATING_POINT   0x01

Hint to the OS to create a thread that supports floating point.

◆ OSAPI_THREAD_STDIO

#define OSAPI_THREAD_STDIO   0x02

Hint to the OS to create a thread that supports standard I/O.

◆ OSAPI_THREAD_REALTIME_PRIORITY

#define OSAPI_THREAD_REALTIME_PRIORITY   0x08

Hint to the OS to create a thread that runs in real-time priority mode.

◆ OSAPI_THREAD_PROPERTY_DEFAULT

#define OSAPI_THREAD_PROPERTY_DEFAULT
Value:
{ \
OSAPI_THREAD_PRIORITY_DEFAULT, \
}
#define OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE
Use the default stack size when creating a thread.
Definition osapi_thread.h:90
#define OSAPI_THREAD_DEFAULT_OPTIONS
Use only the default options the OS gives you.
Definition osapi_thread.h:98

Default thread properties.

◆ OSAPI_ThreadProperty_INITIALIZER

#define OSAPI_ThreadProperty_INITIALIZER   OSAPI_THREAD_PROPERTY_DEFAULT

Initializer for OSAPI_ThreadProperty.

Typedef Documentation

◆ OSAPI_ThreadOptions

Thread options.