4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #if HAVE_CONFIG_H |
---|
6 | #include "config.h" |
---|
7 | #endif |
---|
8 | |
---|
9 | #include <errno.h> |
---|
10 | #include <limits.h> |
---|
11 | #include <pthread.h> |
---|
12 | #include <string.h> |
---|
13 | |
---|
14 | #include <rtems/system.h> |
---|
15 | #include <rtems/score/thread.h> |
---|
16 | #include <rtems/score/wkspace.h> |
---|
17 | #include <rtems/posix/key.h> |
---|
18 | |
---|
19 | /* |
---|
20 | * _POSIX_Key_Manager_initialization |
---|
21 | * |
---|
22 | * DESCRIPTION: |
---|
23 | * |
---|
24 | * This routine performs the initialization necessary for this manager. |
---|
25 | */ |
---|
26 | |
---|
27 | void _POSIX_Key_Manager_initialization( |
---|
28 | uint32_t maximum_keys |
---|
29 | ) |
---|
30 | { |
---|
31 | _Objects_Initialize_information( |
---|
32 | &_POSIX_Keys_Information, /* object information table */ |
---|
33 | OBJECTS_POSIX_API, /* object API */ |
---|
34 | OBJECTS_POSIX_KEYS, /* object class */ |
---|
35 | maximum_keys, /* maximum objects of this class */ |
---|
36 | sizeof( POSIX_Keys_Control ), |
---|
37 | /* size of this object's control block */ |
---|
38 | FALSE, /* TRUE if names for this object are strings */ |
---|
39 | 0 /* maximum length of each object's name */ |
---|
40 | #if defined(RTEMS_MULTIPROCESSING) |
---|
41 | , |
---|
42 | FALSE, /* TRUE if this is a global object class */ |
---|
43 | NULL /* Proxy extraction support callout */ |
---|
44 | #endif |
---|
45 | ); |
---|
46 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.