Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sanity checks about the lock protecting a pthread_cond
[simgrid.git] / src / sthread / sthread.h
index ecc6494..cf96500 100644 (file)
@@ -69,6 +69,7 @@ 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);