semaphore.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_IPC_SEMAPHORE_HPP_
13 #define ECL_IPC_SEMAPHORE_HPP_
14 
15 /*****************************************************************************
16 ** Platform Detection
17 *****************************************************************************/
18 
19 #include <ecl/config/ecl.hpp> // ECL_ macros
20 
21 /*****************************************************************************
22 ** Cross Platform Implementation
23 *****************************************************************************/
24 
25 #if defined(ECL_IS_POSIX)
26  #ifdef _POSIX_SEMAPHORES
27  #if _POSIX_SEMAPHORES > 0
28  #include "semaphore_pos.hpp"
29  #endif
30  #endif
31 #endif
32 
33 
34 #endif /*ECL_IPC_SEMAPHORE_HPP_*/
semaphore_pos.hpp
The posix implementation for semaphores.


ecl_ipc
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:21