mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibPthread: Define SEM_FAILED in semaphore.h
This makes the _multiprocessing module from the Python port build. :^)
This commit is contained in:
parent
9882848e0b
commit
e31d1620a8
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ int sem_unlink(const char*);
|
|||
int sem_wait(sem_t*);
|
||||
int sem_timedwait(sem_t*, const struct timespec* abstime);
|
||||
|
||||
#define SEM_FAILED ((sem_t*)0)
|
||||
#define SEM_VALUE_MAX INT_MAX
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue