Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / src / sthread / sthread.h
index 8447d97..cf96500 100644 (file)
@@ -69,11 +69,13 @@ typedef struct {
 
 typedef struct {
   void* cond;
+  void* mutex;
 } sthread_cond_t;
 int sthread_cond_init(sthread_cond_t* cond, sthread_condattr_t* attr);
 int sthread_cond_signal(sthread_cond_t* cond);
 int sthread_cond_broadcast(sthread_cond_t* cond);
 int sthread_cond_wait(sthread_cond_t* cond, sthread_mutex_t* mutex);
+int sthread_cond_timedwait(sthread_cond_t* cond, sthread_mutex_t* mutex, const struct timespec* abs_timeout);
 int sthread_cond_destroy(sthread_cond_t* cond);
 
 typedef struct {