projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restore use of .type in asm, but use modern @function (vs %function)
[musl]
/
include
/
pthread.h
diff --git
a/include/pthread.h
b/include/pthread.h
index
7633366
..
a0af20f
100644
(file)
--- a/
include/pthread.h
+++ b/
include/pthread.h
@@
-65,7
+65,7
@@
extern "C" {
#define PTHREAD_CANCEL_DEFERRED 0
#define PTHREAD_CANCEL_ASYNCHRONOUS 1
#define PTHREAD_CANCEL_DEFERRED 0
#define PTHREAD_CANCEL_ASYNCHRONOUS 1
-#define PTHREAD_CANCEL
L
ED ((void *)-1)
+#define PTHREAD_CANCELED ((void *)-1)
#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
@@
-76,6
+76,9
@@
int pthread_detach(pthread_t);
void pthread_exit(void *);
int pthread_join(pthread_t, void **);
void pthread_exit(void *);
int pthread_join(pthread_t, void **);
+#ifdef __GNUC__
+__attribute__((const))
+#endif
pthread_t pthread_self(void);
int pthread_equal(pthread_t, pthread_t);
pthread_t pthread_self(void);
int pthread_equal(pthread_t, pthread_t);
@@
-178,6
+181,9
@@
int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int);
int pthread_atfork(void (*)(void), void (*)(void), void (*)(void));
int pthread_atfork(void (*)(void), void (*)(void), void (*)(void));
+int pthread_getconcurrency(void);
+int pthread_setconcurrency(int);
+
#include <bits/pthread.h>
int __setjmp(void *);
#include <bits/pthread.h>
int __setjmp(void *);