RTI Connext DDS Micro
Version 2.4.6
|
Thread interface definition. More...
#include "osapi/osapi_config.h"
#include "osapi/osapi_dll.h"
#include "osapi/osapi_types.h"
#include <windows.h>
#include <process.h>
Go to the source code of this file.
Data Structures | |
struct | OSAPI_ThreadInfo |
Thread info. More... | |
Macros | |
#define | OSAPI_ThreadHandle HANDLE |
Abstract Thread API. More... | |
#define | OSAPI_THREAD_DEFAULT_OPTIONS 0x00 |
#define | OSAPI_THREAD_FLOATING_POINT 0x01 |
#define | OSAPI_THREAD_STDIO 0x02 |
#define | OSAPI_THREAD_REALTIME_PRIORITY 0x08 |
#define | OSAPI_THREAD_PRIORITY_ENFORCE 0x10 |
#define | OSAPI_THREAD_CANCEL_ASYNCHRONOUS 0x20 |
#define | OSAPI_THREAD_PROPERTY_DEFAULT |
Typedefs | |
typedef RTI_UINT32 | OSAPI_ThreadOptions |
typedef RTI_BOOL(* | OSAPI_ThreadRoutine )(struct OSAPI_ThreadInfo *thread_info) |
Thread task signature. More... | |
Functions | |
RTI_BOOL | OSAPI_Thread_wakeup (struct OSAPI_Thread *self) |
Wakeup user-thread. More... | |
RTI_BOOL | OSAPI_Thread_start (struct OSAPI_Thread *me) |
Start a specific thread. More... | |
RTI_BOOL | OSAPI_Thread_destroy (struct OSAPI_Thread *self) |
Destroy a specific thread. More... | |
void | OSAPI_Thread_sleep (RTI_UINT32 ms) |
Suspend a thread for a specified amount of time. More... | |
struct OSAPI_Thread * | OSAPI_Thread_create (const char *name, const struct OSAPI_ThreadProperty *properties, OSAPI_ThreadRoutine user_routine, void *user_data, OSAPI_ThreadRoutine wakeup_routine) |
Create a thread. More... | |
OSAPI_ThreadId | OSAPI_Thread_self (void) |
Return thread ID. More... | |
Thread interface definition.