ithread.h File Reference

#include <pthread.h>
#include <unistd.h>

Go to the source code of this file.

Defines

#define DEBUG_ONLY(x)
#define ITHREAD_MUTEX_FAST_NP   PTHREAD_MUTEX_FAST_NP
#define ITHREAD_MUTEX_RECURSIVE_NP   PTHREAD_MUTEX_RECURSIVE_NP
#define ITHREAD_MUTEX_ERRORCHECK_NP   PTHREAD_MUTEX_ERRORCHECK_NP
#define ITHREAD_CANCELED   PTHREAD_CANCELED
#define ithread_mutexattr_init   pthread_mutexattr_init
#define ithread_mutexattr_destroy   pthread_mutexattr_destroy
#define ithread_mutexattr_setkind_np   pthread_mutexattr_setkind_np
#define ithread_mutexattr_getkind_np   pthread_mutexattr_getkind_np
#define ithread_mutex_init   pthread_mutex_init
#define ithread_mutex_lock   pthread_mutex_lock
#define ithread_mutex_unlock   pthread_mutex_unlock
#define ithread_mutex_destroy   pthread_mutex_destroy
#define ithread_cond_init   pthread_cond_init
#define ithread_cond_signal   pthread_cond_signal
#define ithread_cond_broadcast   pthread_cond_broadcast
#define ithread_cond_wait   pthread_cond_wait
#define ithread_cond_timedwait   pthread_cond_timedwait
#define ithread_cond_destroy   pthread_cond_destroy
#define ithread_create   pthread_create
#define ithread_cancel   pthread_cancel
#define ithread_exit   pthread_exit
#define ithread_get_current_thread_id   pthread_self
#define ithread_self   pthread_self
#define ithread_detach   pthread_detach
#define ithread_join   pthread_join
#define isleep   sleep
#define imillisleep(x)   usleep(1000*x)
#define EXPORT_SPEC

Typedefs

typedef pthread_t ithread_t
typedef pthread_attr_t ithread_attr_t
typedef void *(* start_routine )(void *arg)
typedef pthread_cond_t ithread_cond_t
typedef pthread_mutexattr_t ithread_mutexattr_t
typedef pthread_mutex_t ithread_mutex_t
typedef pthread_condattr_t ithread_condattr_t

Functions

EXPORT_SPEC int pthread_mutexattr_setkind_np (pthread_mutexattr_t *attr, int kind)

Define Documentation

#define DEBUG_ONLY (  ) 

Definition at line 42 of file ithread.h.

#define EXPORT_SPEC

Definition at line 545 of file ithread.h.

#define imillisleep (  )     usleep(1000*x)

Definition at line 531 of file ithread.h.

#define isleep   sleep

Definition at line 516 of file ithread.h.

#define ithread_cancel   pthread_cancel

Definition at line 432 of file ithread.h.

#define ITHREAD_CANCELED   PTHREAD_CANCELED

Definition at line 57 of file ithread.h.

#define ithread_cond_broadcast   pthread_cond_broadcast

Definition at line 332 of file ithread.h.

#define ithread_cond_destroy   pthread_cond_destroy

Definition at line 398 of file ithread.h.

#define ithread_cond_init   pthread_cond_init

Definition at line 297 of file ithread.h.

#define ithread_cond_signal   pthread_cond_signal

Definition at line 315 of file ithread.h.

#define ithread_cond_timedwait   pthread_cond_timedwait

Definition at line 381 of file ithread.h.

#define ithread_cond_wait   pthread_cond_wait

Definition at line 353 of file ithread.h.

#define ithread_create   pthread_create

Definition at line 418 of file ithread.h.

#define ithread_detach   pthread_detach

Definition at line 481 of file ithread.h.

#define ithread_exit   pthread_exit

Definition at line 445 of file ithread.h.

#define ithread_get_current_thread_id   pthread_self

Definition at line 456 of file ithread.h.

#define ithread_join   pthread_join

Definition at line 499 of file ithread.h.

#define ithread_mutex_destroy   pthread_mutex_destroy

Definition at line 281 of file ithread.h.

#define ITHREAD_MUTEX_ERRORCHECK_NP   PTHREAD_MUTEX_ERRORCHECK_NP

Definition at line 56 of file ithread.h.

#define ITHREAD_MUTEX_FAST_NP   PTHREAD_MUTEX_FAST_NP

Definition at line 54 of file ithread.h.

#define ithread_mutex_init   pthread_mutex_init

Definition at line 228 of file ithread.h.

#define ithread_mutex_lock   pthread_mutex_lock

Definition at line 244 of file ithread.h.

#define ITHREAD_MUTEX_RECURSIVE_NP   PTHREAD_MUTEX_RECURSIVE_NP

Definition at line 55 of file ithread.h.

#define ithread_mutex_unlock   pthread_mutex_unlock

Definition at line 262 of file ithread.h.

#define ithread_mutexattr_destroy   pthread_mutexattr_destroy

Definition at line 166 of file ithread.h.

#define ithread_mutexattr_getkind_np   pthread_mutexattr_getkind_np

Definition at line 210 of file ithread.h.

#define ithread_mutexattr_init   pthread_mutexattr_init

Definition at line 150 of file ithread.h.

#define ithread_mutexattr_setkind_np   pthread_mutexattr_setkind_np

Definition at line 188 of file ithread.h.

#define ithread_self   pthread_self

Definition at line 468 of file ithread.h.


Typedef Documentation

typedef pthread_attr_t ithread_attr_t

Definition at line 78 of file ithread.h.

typedef pthread_cond_t ithread_cond_t

Definition at line 99 of file ithread.h.

typedef pthread_condattr_t ithread_condattr_t

Definition at line 133 of file ithread.h.

typedef pthread_mutex_t ithread_mutex_t

Definition at line 121 of file ithread.h.

typedef pthread_mutexattr_t ithread_mutexattr_t

Definition at line 110 of file ithread.h.

typedef pthread_t ithread_t

Definition at line 68 of file ithread.h.

typedef void*(* start_routine)(void *arg)

Definition at line 88 of file ithread.h.


Function Documentation

EXPORT_SPEC int pthread_mutexattr_setkind_np ( pthread_mutexattr_t *  attr,
int  kind 
)

Generated on Fri Mar 26 20:16:54 2010 for MediaTomb by  doxygen 1.6.1