Browse Source

added `pthread_cond.h` to `pthread.h`

adjusted `test_pthread_condition_variable\main.c` includes reflecting the above change
dev/timer
Martin Landsmann 9 years ago
parent
commit
61b0331980
  1. 1
      sys/posix/pthread/include/pthread.h
  2. 3
      tests/test_pthread_condition_variable/main.c

1
sys/posix/pthread/include/pthread.h

@ -23,5 +23,6 @@
#include "pthread_once.h"
#include "pthread_scheduling.h"
#include "pthread_cancellation.h"
#include "pthread_cond.h"
#endif /* pthread.h */

3
tests/test_pthread_condition_variable/main.c

@ -19,9 +19,8 @@
*/
#include <stdio.h>
#include "pthread_cond.h"
#include "pthread.h"
#include "thread.h"
#include "mutex.h"
static mutex_t mutex;
static struct pthread_cond_t cv;

Loading…
Cancel
Save