ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-pthread.h File Reference
#include <pthread.h>
+ Include dependency graph for dce-pthread.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int dce_pthread_cancel (pthread_t thread)
int dce_pthread_cond_broadcast (pthread_cond_t *cond)
int dce_pthread_cond_destroy (pthread_cond_t *cond)
int dce_pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *attr)
int dce_pthread_cond_signal (pthread_cond_t *cond)
int dce_pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
int dce_pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)
int dce_pthread_condattr_destroy (pthread_condattr_t *attr)
int dce_pthread_condattr_init (pthread_condattr_t *attr)
int dce_pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)
int dce_pthread_detach (pthread_t thread)
void dce_pthread_exit (void *arg)
void * dce_pthread_getspecific (pthread_key_t key)
int dce_pthread_join (pthread_t thread, void **value_ptr)
int dce_pthread_key_create (pthread_key_t *key, void(*destructor)(void *))
int dce_pthread_key_delete (pthread_key_t key)
int dce_pthread_mutex_destroy (pthread_mutex_t *mutex)
int dce_pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
int dce_pthread_mutex_lock (pthread_mutex_t *mutex)
int dce_pthread_mutex_trylock (pthread_mutex_t *mutex)
int dce_pthread_mutex_unlock (pthread_mutex_t *mutex)
int dce_pthread_mutexattr_destroy (pthread_mutexattr_t *attr)
int dce_pthread_mutexattr_init (pthread_mutexattr_t *attr)
int dce_pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind)
int dce_pthread_once (pthread_once_t *once_control, void(*init_routine)(void))
pthread_t dce_pthread_self (void)
int dce_pthread_setspecific (pthread_key_t key, const void *value)

Function Documentation

int dce_pthread_cancel ( pthread_t  thread)

Definition at line 247 of file dce-pthread.cc.

int dce_pthread_cond_broadcast ( pthread_cond_t *  cond)
int dce_pthread_cond_destroy ( pthread_cond_t *  cond)

Definition at line 86 of file dce-pthread-cond.cc.

References CidToCond(), ns3::Process::conditions, ns3::Current(), ns3::Thread::process, SearchCondition(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_cond_init ( pthread_cond_t *  cond,
const pthread_condattr_t *  attr 
)

Definition at line 72 of file dce-pthread-cond.cc.

References ns3::Current(), PthreadCondInitStatic(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_cond_signal ( pthread_cond_t *  cond)
int dce_pthread_cond_timedwait ( pthread_cond_t *  cond,
pthread_mutex_t *  mutex,
const struct timespec *  abstime 
)
int dce_pthread_cond_wait ( pthread_cond_t *  cond,
pthread_mutex_t *  mutex 
)
int dce_pthread_condattr_destroy ( pthread_condattr_t *  attr)

Definition at line 204 of file dce-pthread-cond.cc.

int dce_pthread_condattr_init ( pthread_condattr_t *  attr)

Definition at line 200 of file dce-pthread-cond.cc.

int dce_pthread_detach ( pthread_t  thread)
void* dce_pthread_getspecific ( pthread_key_t  key)

Definition at line 291 of file dce-pthread.cc.

References ns3::Current(), ns3::Thread::keyValues, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_key_create ( pthread_key_t *  key,
void(*)(void *)  destructor 
)
int dce_pthread_key_delete ( pthread_key_t  key)

Definition at line 353 of file dce-pthread.cc.

References ns3::Current(), IsKeyValid(), ns3::Thread::keyValues, ns3::Thread::process, ns3::Process::threads, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_mutex_destroy ( pthread_mutex_t *  mutex)
int dce_pthread_mutex_init ( pthread_mutex_t *  mutex,
const pthread_mutexattr_t *  attr 
)
int dce_pthread_mutex_lock ( pthread_mutex_t *  mutex)
int dce_pthread_mutex_trylock ( pthread_mutex_t *  mutex)
int dce_pthread_mutex_unlock ( pthread_mutex_t *  mutex)
int dce_pthread_mutexattr_destroy ( pthread_mutexattr_t *  attr)

Definition at line 315 of file dce-pthread-mutex.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_mutexattr_init ( pthread_mutexattr_t *  attr)

Definition at line 302 of file dce-pthread-mutex.cc.

References ns3::Current(), PthreadMutexAttr::type, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_mutexattr_settype ( pthread_mutexattr_t *  attr,
int  kind 
)

Definition at line 325 of file dce-pthread-mutex.cc.

References ns3::Current(), PthreadMutexAttr::type, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_once ( pthread_once_t *  once_control,
void(*)(void)  init_routine 
)

Definition at line 260 of file dce-pthread.cc.

References ns3::Current(), and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

pthread_t dce_pthread_self ( void  )

Definition at line 252 of file dce-pthread.cc.

References ns3::Current(), ns3::Process::pid, PidTidToPthread(), ns3::Thread::process, ns3::Thread::tid, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_pthread_setspecific ( pthread_key_t  key,
const void *  value 
)

Definition at line 306 of file dce-pthread.cc.

References ns3::Current(), ns3::Thread::keyValues, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function: