1
Fork 0
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:
Tim Schumacher 2022-06-12 14:48:28 +02:00 committed by Brian Gianforcaro
parent 1269ce0c35
commit 899fd74f8e
5 changed files with 71 additions and 4 deletions

View file

@ -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);