OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e4311
)
2002-10-07 Joel Sherrill <joel@OARcorp.com>
author
joel
<joel>
Tue, 8 Oct 2002 13:03:07 +0000
(13:03 +0000)
committer
joel
<joel>
Tue, 8 Oct 2002 13:03:07 +0000
(13:03 +0000)
* libc/include/pthread.h: Define PTHREAD_CANCELED.
newlib/libc/include/pthread.h
patch
|
blob
|
history
diff --git
a/newlib/libc/include/pthread.h
b/newlib/libc/include/pthread.h
index
af5d32c
..
05ff38b
100644
(file)
--- a/
newlib/libc/include/pthread.h
+++ b/
newlib/libc/include/pthread.h
@@
-258,6
+258,8
@@
int _EXFUN(pthread_key_delete, (pthread_key_t key));
#define PTHREAD_CANCEL_DEFERRED 0
#define PTHREAD_CANCEL_ASYNCHRONOUS 1
+#define PTHREAD_CANCELED ((void *) -1)
+
int _EXFUN(pthread_cancel, (pthread_t thread));
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */