Classes | Defines | Functions
UThreadC.h File Reference
#include "rtabmap/utilite/Win32/UWin32.h"
#include "rtabmap/utilite/USemaphore.h"
#include "rtabmap/utilite/UMutex.h"
Include dependency graph for Win32/UThreadC.h:

Go to the source code of this file.

Classes

struct  UThreadC< Thread_T >::Instance
class  UThreadC< Thread_T >
class  UThreadC< void >

Defines

#define CLOSE_HANDLE(x)   CloseHandle(x)
#define CREATE_THREAD(_S, _F, _P)   ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,0))
#define CREATE_THREAD2(_S, _F, _P, _ID)   ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,_ID))
#define CREATE_THREAD_ERROR   GetLastError()
#define CREATE_THREAD_FAILED   (0L)
#define EXIT_THREAD   ExitThread(0)
#define InvalidHandle   0
#define THREAD_CALL   WINAPI
#define THREAD_HANDLE   HANDLE
#define THREAD_RET_T   DWORD
#define THREAD_RETURN(x)   return(x)

Functions

void uSleep (unsigned int ms)

Define Documentation

#define CLOSE_HANDLE (   x)    CloseHandle(x)

Definition at line 80 of file Win32/UThreadC.h.

#define CREATE_THREAD (   _S,
  _F,
  _P 
)    ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,0))

Definition at line 77 of file Win32/UThreadC.h.

#define CREATE_THREAD2 (   _S,
  _F,
  _P,
  _ID 
)    ((Handle)CreateThread(0,_S,(DWORD (WINAPI *)(void *))_F,(void *)_P,0,_ID))

Definition at line 78 of file Win32/UThreadC.h.

#define CREATE_THREAD_ERROR   GetLastError()

Definition at line 76 of file Win32/UThreadC.h.

#define CREATE_THREAD_FAILED   (0L)

Definition at line 75 of file Win32/UThreadC.h.

#define EXIT_THREAD   ExitThread(0)

Definition at line 79 of file Win32/UThreadC.h.

#define InvalidHandle   0

Definition at line 84 of file Win32/UThreadC.h.

#define THREAD_CALL   WINAPI

Definition at line 72 of file Win32/UThreadC.h.

#define THREAD_HANDLE   HANDLE

Definition at line 73 of file Win32/UThreadC.h.

#define THREAD_RET_T   DWORD

Definition at line 74 of file Win32/UThreadC.h.

#define THREAD_RETURN (   x)    return(x)

Definition at line 81 of file Win32/UThreadC.h.


Function Documentation

void uSleep ( unsigned int  ms) [inline]

Definition at line 43 of file Win32/UThreadC.h.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:30