Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

thread.h File Reference


Detailed Description

innotek Portable Runtime - Threads.

Definition in file thread.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>

Go to the source code of this file.

Typedefs

typedef FNRTTHREAD * PFNRTTHREAD
typedef void * pvUser

Enumerations

enum  RTTHREADFLAGS { RTTHREADFLAGS_WAITABLE = BIT(0), RTTHREADFLAGS_WAITABLE_BIT = 0, RTTHREADFLAGS_MASK = BIT(0) }
enum  RTTHREADTYPE {
  RTTHREADTYPE_INVALID = 0, RTTHREADTYPE_INFREQUENT_POLLER, RTTHREADTYPE_MAIN_HEAVY_WORKER, RTTHREADTYPE_EMULATION,
  RTTHREADTYPE_DEFAULT, RTTHREADTYPE_GUI, RTTHREADTYPE_MAIN_WORKER, RTTHREADTYPE_VRDP_IO,
  RTTHREADTYPE_DEBUGGER, RTTHREADTYPE_MSG_PUMP, RTTHREADTYPE_IO, RTTHREADTYPE_TIMER,
  RTTHREADTYPE_END
}

Functions

typedef DECLCALLBACK (int) FNRTTHREAD(RTTHREAD ThreadSelf
 RTDECL (RTTHREADTYPE) RTThreadGetType(RTTHREAD Thread)
 RTDECL (const char *) RTThreadSelfName(void)
 RTDECL (bool) RTThreadYield(void)
 RTDECL (int) RTThreadSleep(unsigned cMillies)
 RTDECL (RTNATIVETHREAD) RTThreadNativeSelf(void)
 RTDECL (RTTHREAD) RTThreadSelf(void)

Variables

PFNRTTHREAD void size_t cbStack
unsigned cMillies
PFNRTTHREAD void size_t
RTTHREADTYPE 
enmType
PFNRTTHREAD void size_t
RTTHREADTYPE unsigned 
fFlags
PFNRTTHREAD pfnThread
unsigned int * prc
R3 DevHlp
PFNRTTHREAD void size_t
RTTHREADTYPE unsigned const
char * 
pszName


Generated by  Doxygen 1.6.0   Back to index