xref: /haiku/headers/compatibility/gnu/pthread.h (revision 5b189b0e1e2f51f367bfcb126b2f00a3702f352d)
1 /*
2  * Copyright 2019 Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the Haiku License.
4  */
5 #ifndef _GNU_PTHREAD_H_
6 #define _GNU_PTHREAD_H_
7 
8 
9 #include_next <pthread.h>
10 
11 
12 #ifdef _GNU_SOURCE
13 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 
20 extern int pthread_getattr_np(pthread_t thread, pthread_attr_t* attr);
21 
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 
28 #endif
29 
30 
31 #endif	/* _GNU_PTHREAD_H_ */
32 
33