5
Last change
on this file since 4c20da4b was
4c20da4b,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/04/19 at 07:18:11
|
doxygen: Rename Score* groups in RTEMSScore*
Update #3706
|
-
Property mode set to
100644
|
File size:
972 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup RTEMSScoreOnce |
---|
5 | * |
---|
6 | * @brief Once API |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2014, 2019 embedded brains GmbH. All rights reserved. |
---|
11 | * |
---|
12 | * embedded brains GmbH |
---|
13 | * Dornierstr. 4 |
---|
14 | * 82178 Puchheim |
---|
15 | * Germany |
---|
16 | * <rtems@embedded-brains.de> |
---|
17 | * |
---|
18 | * The license and distribution terms for this file may be |
---|
19 | * found in the file LICENSE in this distribution or at |
---|
20 | * http://www.rtems.org/license/LICENSE. |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef _RTEMS_ONCE_H |
---|
24 | #define _RTEMS_ONCE_H |
---|
25 | |
---|
26 | #include <rtems/score/thread.h> |
---|
27 | |
---|
28 | #ifdef __cplusplus |
---|
29 | extern "C" { |
---|
30 | #endif /* __cplusplus */ |
---|
31 | |
---|
32 | /** |
---|
33 | * @defgroup RTEMSScoreOnce Once Functions. |
---|
34 | * |
---|
35 | * @ingroup RTEMSScore |
---|
36 | * |
---|
37 | * @brief The _Once() function for pthread_once() and rtems_gxx_once(). |
---|
38 | * |
---|
39 | * @{ |
---|
40 | */ |
---|
41 | |
---|
42 | int _Once( unsigned char *once_state, void ( *init_routine )( void ) ); |
---|
43 | |
---|
44 | Thread_Life_state _Once_Lock( void ); |
---|
45 | |
---|
46 | void _Once_Unlock( Thread_Life_state thread_life_state ); |
---|
47 | |
---|
48 | /** @} */ |
---|
49 | |
---|
50 | #ifdef __cplusplus |
---|
51 | } |
---|
52 | #endif /* __cplusplus */ |
---|
53 | |
---|
54 | #endif /* _RTEMS_ONCE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.