summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/rtems/posix/cond.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 18:25:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 18:25:26 +0000
commit98dca75bf3c7cd6692349b6a9e4f66430d90e779 (patch)
treea30b9d7d6df82e75001492a94ab2b984f80045a6 /c/src/exec/posix/include/rtems/posix/cond.h
parentSplit the POSIX semaphore manager into multiple files. (diff)
downloadrtems-98dca75bf3c7cd6692349b6a9e4f66430d90e779.tar.bz2
Split condition variables into multiple files.
Diffstat (limited to '')
-rw-r--r--c/src/exec/posix/include/rtems/posix/cond.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/c/src/exec/posix/include/rtems/posix/cond.h b/c/src/exec/posix/include/rtems/posix/cond.h
index 0fb44d8042..ba6063f207 100644
--- a/c/src/exec/posix/include/rtems/posix/cond.h
+++ b/c/src/exec/posix/include/rtems/posix/cond.h
@@ -48,6 +48,12 @@ typedef struct {
*/
POSIX_EXTERN Objects_Information _POSIX_Condition_variables_Information;
+
+/*
+ * The default condition variable attributes structure.
+ */
+
+extern const pthread_condattr_t _POSIX_Condition_variables_Default_attributes;
/*
* _POSIX_Condition_variables_Manager_initialization
@@ -118,6 +124,36 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
);
+/*
+ * _POSIX_Condition_variables_Signal_support
+ *
+ * DESCRIPTION:
+ *
+ * A support routine which implements guts of the broadcast and single task
+ * wake up version of the "signal" operation.
+ */
+
+int _POSIX_Condition_variables_Signal_support(
+ pthread_cond_t *cond,
+ boolean is_broadcast
+);
+
+/*
+ * _POSIX_Condition_variables_Wait_support
+ *
+ * DESCRIPTION:
+ *
+ * A support routine which implements guts of the blocking, non-blocking, and
+ * timed wait version of condition variable wait routines.
+ */
+
+int _POSIX_Condition_variables_Wait_support(
+ pthread_cond_t *cond,
+ pthread_mutex_t *mutex,
+ Watchdog_Interval timeout,
+ boolean already_timedout
+);
+
#include <rtems/posix/cond.inl>
#if defined(RTEMS_MULTIPROCESSING)
#include <rtems/posix/condmp.h>