summaryrefslogtreecommitdiff
path: root/PACE/pace/vxworks/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/vxworks/semaphore.h')
-rw-r--r--PACE/pace/vxworks/semaphore.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/PACE/pace/vxworks/semaphore.h b/PACE/pace/vxworks/semaphore.h
new file mode 100644
index 00000000000..f5a0a97d05a
--- /dev/null
+++ b/PACE/pace/vxworks/semaphore.h
@@ -0,0 +1,31 @@
+/* $Id$
+
+ * ============================================================================
+ *
+ * = LIBRARY
+ * pace
+ *
+ * = FILENAME
+ * pace/vxworks/semaphore.h
+ *
+ * = AUTHOR
+ * Joe Hoffert
+ *
+ * ============================================================================ */
+
+#ifndef PACE_SEMAPHORE_H_VXWORKS
+#define PACE_SEMAPHORE_H_VXWORKS
+
+#include <semaphore.h>
+
+#if defined (PACE_HAS_CPLUSPLUS)
+extern "C" {
+#endif /* PACE_HAS_CPLUSPLUS */
+
+typedef sem_t pace_sem_t;
+
+#if defined (PACE_HAS_CPLUSPLUS)
+}
+#endif /* PACE_HAS_CPLUSPLUS */
+
+#endif /* PACE_SEMAPHORE_H_VXWORKS */