projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a835b
)
provide prototype for pthread_getattr_np
author
Rich Felker
<dalias@aerifal.cx>
Mon, 1 Apr 2013 03:27:57 +0000
(23:27 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 1 Apr 2013 03:27:57 +0000
(23:27 -0400)
include/pthread.h
patch
|
blob
|
history
diff --git
a/include/pthread.h
b/include/pthread.h
index 6eee14cbb2f89ac5daaa0a694977f4aab309dcf9..731bce385306a72af2cfbc2ebcd336df185775fd 100644
(file)
--- a/
include/pthread.h
+++ b/
include/pthread.h
@@
-209,6
+209,10
@@
void _pthread_cleanup_pop(struct __ptcb *, int);
#define pthread_cleanup_push(f, x) do { struct __ptcb __cb; _pthread_cleanup_push(&__cb, f, x);
#define pthread_cleanup_pop(r) _pthread_cleanup_pop(&__cb, (r)); } while(0)
+#ifdef _GNU_SOURCE
+int pthread_getattr_np(pthread_t, pthread_attr_t *);
+#endif
+
#ifdef __cplusplus
}
#endif