Classes | Macros | Typedefs | Functions
Posix/UThreadC.h File Reference
#include "rtabmap/utilite/USemaphore.h"
#include "rtabmap/utilite/UMutex.h"
#include <pthread.h>
Include dependency graph for Posix/UThreadC.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define InvalidHandle   0
 
#define THREAD_HANDLE   pthread_t
 

Typedefs

typedef void *(* pthread_fn) (void *)
 

Functions

void uSleep (unsigned int ms)
 
void uSleepMicro (unsigned int us)
 
void uSleepNano (unsigned int ns)
 

Macro Definition Documentation

◆ InvalidHandle

#define InvalidHandle   0

Definition at line 57 of file Posix/UThreadC.h.

◆ THREAD_HANDLE

#define THREAD_HANDLE   pthread_t

Definition at line 58 of file Posix/UThreadC.h.

Typedef Documentation

◆ pthread_fn

typedef void*( * pthread_fn) (void *)

Definition at line 60 of file Posix/UThreadC.h.

Function Documentation

◆ uSleep()

void uSleep ( unsigned int  ms)
inline

Calling thread sleeps for some milliseconds.

Definition at line 23 of file Posix/UThreadC.h.

◆ uSleepMicro()

void uSleepMicro ( unsigned int  us)
inline

Calling thread sleeps for some microseconds.

Definition at line 35 of file Posix/UThreadC.h.

◆ uSleepNano()

void uSleepNano ( unsigned int  ns)
inline

Calling thread sleeps for some nanoseconds.

Definition at line 47 of file Posix/UThreadC.h.



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