summaryrefslogtreecommitdiff
path: root/ace/os_include/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/semaphore.h')
-rw-r--r--ace/os_include/semaphore.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ace/os_include/semaphore.h b/ace/os_include/semaphore.h
new file mode 100644
index 00000000000..9b2b786feec
--- /dev/null
+++ b/ace/os_include/semaphore.h
@@ -0,0 +1,33 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file semaphore.h
+ *
+ * semaphores (REALTIME)
+ *
+ * $Id$
+ *
+ * @author Don Hinton <dhinton@ieee.org>
+ * @author This code was originally in various places including ace/OS.h.
+ */
+//=============================================================================
+
+#ifndef ACE_OS_INCLUDE_SEMAPHORE_H
+#define ACE_OS_INCLUDE_SEMAPHORE_H
+
+#include "ace/pre.h"
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/os_include/time.h"
+
+#if !defined (ACE_LACKS_SEMAPHORE_H)
+# include /**/ <semaphore.h>
+#endif /* !ACE_LACKS_SEMAPHORE_H */
+
+#endif /* ACE_OS_INCLUDE_SEMAPHORE_H */