5
Last change
on this file since 1d572eba was
714efce,
checked in by Joel Sherrill <joel@…>, on 02/29/16 at 16:25:42
|
conddefaultattributes.c: Add default clock to structure.
|
-
Property mode set to
100644
|
File size:
743 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Condition variable Attributes structure |
---|
5 | * @ingroup POSIXAPI |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2007, 2016. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #if HAVE_CONFIG_H |
---|
18 | #include "config.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <pthread.h> |
---|
22 | |
---|
23 | #include <rtems/system.h> |
---|
24 | |
---|
25 | /* |
---|
26 | * The default condition variable attributes structure. |
---|
27 | */ |
---|
28 | |
---|
29 | const pthread_condattr_t _POSIX_Condition_variables_Default_attributes = { |
---|
30 | .is_initialized = true, |
---|
31 | .clock = CLOCK_REALTIME, |
---|
32 | #if defined(_POSIX_THREAD_PROCESS_SHARED) |
---|
33 | .process_shared = PTHREAD_PROCESS_PRIVATE |
---|
34 | #endif |
---|
35 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.