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