diff options
Diffstat (limited to 'c/src/exec/posix/src/condbroadcast.c')
-rw-r--r-- | c/src/exec/posix/src/condbroadcast.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/condbroadcast.c b/c/src/exec/posix/src/condbroadcast.c new file mode 100644 index 0000000000..5a55e75b23 --- /dev/null +++ b/c/src/exec/posix/src/condbroadcast.c @@ -0,0 +1,26 @@ +/* + * $Id$ + */ + +#include <pthread.h> +#include <errno.h> + +#include <rtems/system.h> +#include <rtems/score/object.h> +#include <rtems/score/states.h> +#include <rtems/score/watchdog.h> +#include <rtems/posix/cond.h> +#include <rtems/posix/time.h> +#include <rtems/posix/mutex.h> + +/*PAGE + * + * 11.4.3 Broadcasting and Signaling a Condition, P1003.1c/Draft 10, p. 101 + */ + +int pthread_cond_broadcast( + pthread_cond_t *cond +) +{ + return _POSIX_Condition_variables_Signal_support( cond, TRUE ); +} |