Rev 1693 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1693 | Rev 2168 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* pthread.h |
1 | /* pthread.h |
2 | * |
2 | * |
3 | * Written by Joel Sherrill |
3 | * Written by Joel Sherrill |
4 | * |
4 | * |
5 | * COPYRIGHT (c) 1989-2000. |
5 | * COPYRIGHT (c) 1989-2010. |
6 | * On-Line Applications Research Corporation (OAR). |
6 | * On-Line Applications Research Corporation (OAR). |
7 | * |
7 | * |
8 | * Permission to use, copy, modify, and distribute this software for any |
8 | * Permission to use, copy, modify, and distribute this software for any |
9 | * purpose without fee is hereby granted, provided that this entire notice |
9 | * purpose without fee is hereby granted, provided that this entire notice |
10 | * is included in all copies of any software which is or includes a copy |
10 | * is included in all copies of any software which is or includes a copy |
Line 13... | Line 13... | ||
13 | * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED |
13 | * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED |
14 | * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION |
14 | * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION |
15 | * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS |
15 | * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS |
16 | * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. |
16 | * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. |
17 | * |
17 | * |
18 | * $Id: pthread.h,v 1.8 2009/12/17 19:22:23 jjohnstn Exp $ |
18 | * $Id: pthread.h,v 1.9 2010/12/08 14:44:06 corinna Exp $ |
19 | */ |
19 | */ |
Line 20... | Line 20... | ||
20 | 20 | ||
21 | #ifndef __PTHREAD_h |
21 | #ifndef __PTHREAD_h |
Line 183... | Line 183... | ||
183 | 183 | ||
Line 184... | Line 184... | ||
184 | /* Thread Creation Attributes, P1003.1c/Draft 10, p, 140 */ |
184 | /* Thread Creation Attributes, P1003.1c/Draft 10, p, 140 */ |
185 | 185 | ||
- | 186 | int _EXFUN(pthread_attr_init, (pthread_attr_t *__attr)); |
|
- | 187 | int _EXFUN(pthread_attr_destroy, (pthread_attr_t *__attr)); |
|
- | 188 | int _EXFUN(pthread_attr_setstack, (pthread_attr_t *attr, |
|
- | 189 | void *__stackaddr, size_t __stacksize)); |
|
186 | int _EXFUN(pthread_attr_init, (pthread_attr_t *__attr)); |
190 | int _EXFUN(pthread_attr_getstack, (_CONST pthread_attr_t *attr, |
187 | int _EXFUN(pthread_attr_destroy, (pthread_attr_t *__attr)); |
191 | void **__stackaddr, size_t *__stacksize)); |
188 | int _EXFUN(pthread_attr_getstacksize, |
192 | int _EXFUN(pthread_attr_getstacksize, |
189 | (_CONST pthread_attr_t *__attr, size_t *__stacksize)); |
193 | (_CONST pthread_attr_t *__attr, size_t *__stacksize)); |
190 | int _EXFUN(pthread_attr_setstacksize, |
194 | int _EXFUN(pthread_attr_setstacksize, |
191 | (pthread_attr_t *__attr, size_t stacksize)); |
195 | (pthread_attr_t *__attr, size_t __stacksize)); |
192 | int _EXFUN(pthread_attr_getstackaddr, |
196 | int _EXFUN(pthread_attr_getstackaddr, |
193 | (_CONST pthread_attr_t *__attr, void **__stackaddr)); |
197 | (_CONST pthread_attr_t *__attr, void **__stackaddr)); |
194 | int _EXFUN(pthread_attr_setstackaddr, |
198 | int _EXFUN(pthread_attr_setstackaddr, |
195 | (pthread_attr_t *__attr, void *__stackaddr)); |
199 | (pthread_attr_t *__attr, void *__stackaddr)); |
196 | int _EXFUN(pthread_attr_getdetachstate, |
200 | int _EXFUN(pthread_attr_getdetachstate, |
197 | (_CONST pthread_attr_t *__attr, int *__detachstate)); |
201 | (_CONST pthread_attr_t *__attr, int *__detachstate)); |
- | 202 | int _EXFUN(pthread_attr_setdetachstate, |
|
- | 203 | (pthread_attr_t *__attr, int __detachstate)); |
|
- | 204 | int _EXFUN(pthread_attr_getguardsize, |
|
- | 205 | (_CONST pthread_attr_t *__attr, size_t *__guardsize)); |
|
Line 198... | Line 206... | ||
198 | int _EXFUN(pthread_attr_setdetachstate, |
206 | int _EXFUN(pthread_attr_setguardsize, |
Line 199... | Line 207... | ||
199 | (pthread_attr_t *__attr, int __detachstate)); |
207 | (pthread_attr_t *__attr, size_t __guardsize)); |
200 | 208 |