summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/conddefaultattributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/conddefaultattributes.c')
-rw-r--r--c/src/exec/posix/src/conddefaultattributes.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/conddefaultattributes.c b/c/src/exec/posix/src/conddefaultattributes.c
new file mode 100644
index 0000000000..a45b96f3c8
--- /dev/null
+++ b/c/src/exec/posix/src/conddefaultattributes.c
@@ -0,0 +1,24 @@
+/*
+ * $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
+ *
+ * The default condition variable attributes structure.
+ */
+
+const pthread_condattr_t _POSIX_Condition_variables_Default_attributes = {
+ TRUE, /* is_initialized */
+ PTHREAD_PROCESS_PRIVATE /* process_shared */
+};