mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
LibC: Implement pthread_cancel
This commit is contained in:
parent
1269ce0c35
commit
899fd74f8e
5 changed files with 71 additions and 4 deletions
|
@ -33,7 +33,7 @@ int pthread_attr_destroy(pthread_attr_t*);
|
|||
#define PTHREAD_CREATE_JOINABLE 0
|
||||
#define PTHREAD_CREATE_DETACHED 1
|
||||
|
||||
#define PTHREAD_CANCELED (-1)
|
||||
#define PTHREAD_CANCELED ((void*)-1)
|
||||
|
||||
int pthread_attr_getdetachstate(pthread_attr_t const*, int*);
|
||||
int pthread_attr_setdetachstate(pthread_attr_t*, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue