RTI Connext Micro C API  Version 2.4.14.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
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

#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
Value:
{ \
OSAPI_THREAD_USE_OSDEFAULT_STACKSIZE, \
OSAPI_THREAD_PRIORITY_DEFAULT, \
OSAPI_THREAD_DEFAULT_OPTIONS \
OSAPI_PORT_THREAD_PROPERTY_INITIALIZER \
}

Default thread properties.

#define OSAPI_ThreadProperty_INITIALIZER   OSAPI_THREAD_PROPERTY_DEFAULT

Initializer for OSAPI_ThreadProperty.


Typedef Documentation

Thread options.


RTI Connext Micro C API Version 2.4.14.1 Copyright © Thu Nov 2 2023 Real-Time Innovations, Inc