remove \r
[extl.git] / extl / platform_ / windows / synch / lock_selector.h
blobca89d5159812926f8e6058bd7fbaf370cb16eb9a
1 /* ///////////////////////////////////////////////////////////////////////
2 * File: lock_selector.h
4 * Created: 08.03.20
5 * Updated: 09.01.20
7 * Brief: lock_selector class
9 * [<Home>]
10 * Copyright (c) 2008-2020, Waruqi All rights reserved.
11 * //////////////////////////////////////////////////////////////////// */
12 #ifndef EXTL_WINDOWS_SYNCH_LOCK_SELECTOR_H
13 #define EXTL_WINDOWS_SYNCH_LOCK_SELECTOR_H
15 /*!\file lock_selector.h
16 * \brief lock_selector class
18 #ifndef __cplusplus
19 # error lock_selector.h need be supported by c++.
20 #endif
22 /* ///////////////////////////////////////////////////////////////////////
23 * Includes
25 #include "prefix.h"
26 #include "event_lock.h"
27 #include "mutex_lock.h"
28 #include "semaphore_lock.h"
29 #include "critical_lock.h"
31 /* ///////////////////////////////////////////////////////////////////////
32 * ::extl::platform::windows namespace
34 EXTL_WINDOWS_BEGIN_WHOLE_NAMESPACE
36 /*!\brief lock_selector class
38 * \ingroup extl_group_synch
40 struct lock_selector
42 /// \name Types
43 /// @{
44 public:
45 typedef event_lock event_lock_type;
46 typedef mutex_lock mutex_lock_type;
47 typedef semaphore_lock semaphore_lock_type;
48 typedef critical_lock critical_lock_type;
49 typedef critical_lock_type lock_type;
50 /// @}
53 /* ///////////////////////////////////////////////////////////////////////
54 * ::extl::platform::windows namespace
56 EXTL_WINDOWS_END_WHOLE_NAMESPACE
58 /* //////////////////////////////////////////////////////////////////// */
59 #endif /* EXTL_WINDOWS_SYNCH_LOCK_SELECTOR_H */
60 /* //////////////////////////////////////////////////////////////////// */