Classes | Macros | Functions
Win32/UThreadC.h File Reference
#include "rtabmap/utilite/utilite_export.h"
#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 >
 

Macros

#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)
 

Macro Definition Documentation

◆ CLOSE_HANDLE

#define CLOSE_HANDLE (   x)    CloseHandle(x)

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

◆ CREATE_THREAD

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

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

◆ CREATE_THREAD2

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

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

◆ CREATE_THREAD_ERROR

#define CREATE_THREAD_ERROR   GetLastError()

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

◆ CREATE_THREAD_FAILED

#define CREATE_THREAD_FAILED   (0L)

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

◆ EXIT_THREAD

#define EXIT_THREAD   ExitThread(0)

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

◆ InvalidHandle

#define InvalidHandle   0

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

◆ THREAD_CALL

#define THREAD_CALL   WINAPI

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

◆ THREAD_HANDLE

#define THREAD_HANDLE   HANDLE

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

◆ THREAD_RET_T

#define THREAD_RET_T   DWORD

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

◆ THREAD_RETURN

#define THREAD_RETURN (   x)    return(x)

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

Function Documentation

◆ uSleep()

void uSleep ( unsigned int  ms)
inline

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



rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:25