RTI Connext Micro  Version
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
osapi_thread.h File Reference

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...


#define OSAPI_ThreadHandle   HANDLE
 Abstract Thread API.
#define OSAPI_THREAD_STDIO   0x02


typedef RTI_UINT32 OSAPI_ThreadOptions
typedef RTI_BOOL(* OSAPI_ThreadRoutine )(struct OSAPI_ThreadInfo *thread_info)
 Thread task signature.


RTI_BOOL OSAPI_Thread_wakeup (struct OSAPI_Thread *self)
 Wakeup user-thread.
RTI_BOOL OSAPI_Thread_start (struct OSAPI_Thread *me)
 Start a specific thread.
RTI_BOOL OSAPI_Thread_destroy (struct OSAPI_Thread *self)
 Destroy a specific thread.
void OSAPI_Thread_sleep (RTI_UINT32 ms)
 Suspend a thread for a specified amount of time.
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.
OSAPI_ThreadId OSAPI_Thread_self (void)
 Return thread ID.

Detailed Description

Thread interface definition.

RTI Connext Micro Version Copyright © Thu Nov 20 2014 Real-Time Innovations, Inc