source: rtems/doc/posix_users/key.t @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 2.4 KB
Line 
1@c
2@c COPYRIGHT (c) 1988-2002.
3@c On-Line Applications Research Corporation (OAR).
4@c All rights reserved.
5
6@chapter Key Manager
7
8@section Introduction
9
10The key manager ...
11
12The directives provided by the key manager are:
13
14@itemize @bullet
15@item @code{pthread_key_create} - Create Thread Specific Data Key
16@item @code{pthread_key_delete} - Delete Thread Specific Data Key
17@item @code{pthread_setspecific} - Set Thread Specific Key Value
18@item @code{pthread_getspecific} - Get Thread Specific Key Value
19@end itemize
20
21@section Background
22
23There is currently no text in this section.
24
25@section Operations
26
27There is currently no text in this section.
28
29@section Directives
30
31This section details the key manager's directives.
32A subsection is dedicated to each of this manager's directives
33and describes the calling sequence, related constants, usage,
34and status codes.
35
36@c
37@c
38@c
39@page
40@subsection pthread_key_create - Create Thread Specific Data Key
41
42@subheading CALLING SEQUENCE:
43
44@example
45#include <pthread.h>
46
47int pthread_key_create(
48  pthread_key_t *key,
49  void (*destructor)( void )
50);
51@end example
52
53@subheading STATUS CODES:
54
55@table @b
56@item EAGAIN
57There were not enough resources available to create another key.
58
59@item ENOMEM
60Insufficient memory exists to create the key.
61
62@end table
63
64@c
65@c
66@c
67@page
68@subsection pthread_key_delete - Delete Thread Specific Data Key
69
70@subheading CALLING SEQUENCE:
71
72@example
73#include <pthread.h>
74
75int pthread_key_delete(
76pthread_key_t key,
77);
78@end example
79
80@subheading STATUS CODES:
81
82@table @b
83@item EINVAL
84The key was invalid
85
86@end table
87
88@subheading DESCRIPTION:
89
90@subheading NOTES:
91
92@c
93@c
94@c
95@page
96@subsection pthread_setspecific - Set Thread Specific Key Value
97
98@subheading CALLING SEQUENCE:
99
100@example
101#include <pthread.h>
102
103int pthread_setspecific(
104pthread_key_t key,
105const void *value
106);
107@end example
108
109@subheading STATUS CODES:
110@table @b
111@item EINVAL
112The specified key is invalid.
113
114@end table
115
116@subheading DESCRIPTION:
117
118@subheading NOTES:
119
120@c
121@c
122@c
123@page
124@subsection pthread_getspecific - Get Thread Specific Key Value
125
126@subheading CALLING SEQUENCE:
127
128@example
129#include <pthread.h>
130
131void *pthread_getspecific(
132pthread_key_t key
133);
134@end example
135
136@subheading STATUS CODES:
137@table @b
138@item NULL
139There is no thread-specific data associated with the specified key.
140
141@item non-NULL
142The data associated with the specified key.
143
144@end table
145
146@subheading DESCRIPTION:
147
148@subheading NOTES:
149
Note: See TracBrowser for help on using the repository browser.