summaryrefslogtreecommitdiff
path: root/PACE/pace/semaphore.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /PACE/pace/semaphore.h
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-3df4acfa816441fc28a95dee6d0191a927145d95.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'PACE/pace/semaphore.h')
-rw-r--r--PACE/pace/semaphore.h130
1 files changed, 0 insertions, 130 deletions
diff --git a/PACE/pace/semaphore.h b/PACE/pace/semaphore.h
deleted file mode 100644
index 9c2a34824aa..00000000000
--- a/PACE/pace/semaphore.h
+++ /dev/null
@@ -1,130 +0,0 @@
-/* $Id$
-
- * ============================================================================
- *
- * = LIBRARY
- * pace
- *
- * = FILENAME
- * pace/semaphore.h
- *
- * = AUTHOR
- * Luther Baker
- *
- * ============================================================================ */
-
-#ifndef PACE_SEMAPHORE_H
-#define PACE_SEMAPHORE_H
-
-#include "pace/config/defines.h"
-
-#if (PACE_HAS_POSIX)
-# include "pace/posix/semaphore.h"
-#elif (PACE_VXWORKS)
-# include "pace/vxworks/semaphore.h"
-#elif (PACE_WIN32)
-# include "pace/win32/semaphore.h"
-#endif
-
-#if defined (PACE_HAS_CPLUSPLUS)
-extern "C" {
-#endif /* PACE_HAS_CPLUSPLUS */
-
- /**
- PACE's implementation of the POSIX function sem_close.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.4.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_close (pace_sem_t * sem);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_destroy.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.2.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_destroy (pace_sem_t * sem);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_getvalue.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.8.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_getvalue (pace_sem_t * sem, int * sval);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_init.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.1.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_init (pace_sem_t * sem,
- int pshared,
- unsigned int value);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_open.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.3.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
-# define pace_sem_open sem_open
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_post.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.7.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_post (pace_sem_t * sem);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_trywait.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.6.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_trywait (pace_sem_t * sem);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_unlink.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.5.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_unlink (const char * name);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
- /**
- PACE's implementation of the POSIX function sem_wait.
- See POSIX standard (Internation Standard ISO/IEC 9945-1:1996;
- IEEE Std 1003.1, 1996 Edition), Section 11.2.6.
- */
-#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_Export PACE_INLINE int pace_sem_wait (pace_sem_t * sem);
-#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
-
-#if defined (PACE_HAS_INLINE)
-# if (PACE_HAS_POSIX)
-# include "pace/posix/semaphore.inl"
-# elif (PACE_VXWORKS)
-# include "pace/vxworks/semaphore.inl"
-# elif (PACE_WIN32)
-# include "pace/win32/semaphore.inl"
-# endif
-#endif /* PACE_HAS_INLINE */
-
-#if defined (PACE_HAS_CPLUSPLUS)
-}
-#endif /* PACE_HAS_CPLUSPLUS */
-
-#endif /* PACE_SEMAPHORE_H */