#include <cc++/config.h>
#include <ctime>
#include <pthread.h>
#include <time.h>
#include <signal.h>
#include <unistd.h>
Go to the source code of this file.
Namespaces | |
namespace | ost |
Defines | |
#define | CCXX_POSIX |
#define | TIMEOUT_INF ~((timeout_t) 0) |
#define | ENTER_CRITICAL enterMutex(); |
#define | LEAVE_CRITICAL leaveMutex(); |
#define | ENTER_DEFERRED setCancel(cancelDeferred); |
#define | LEAVE_DEFERRED setCancel(cancelImmediate); |
#define | psleep(x) (sleep)(x) |
Typedefs | |
typedef pthread_t | cctid_t |
typedef unsigned long | timeout_t |
typedef int | signo_t |
Functions | |
timespec * | getTimeout (struct timespec *spec, timeout_t timeout) |
void | wait (signo_t signo) |
Thread * | getThread (void) |
tm * | localtime_r (const time_t *t, struct tm *b) |
char * | ctime_r (const time_t *t, char *buf) |
tm * | gmtime_r (const time_t *t, struct tm *b)\ |
char * | asctime_r (const struct tm *tm, char *b)\ |
Variables | |
__EXPORT | Thread |
__EXPORT | ThreadKey |
__EXPORT | Conditional |
__EXPORT | Event |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|