Overhaul process spawning

This commit is contained in:
Justine Tunney 2023-09-10 08:12:43 -07:00
parent 99dc1281f5
commit 26e254fb4d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
96 changed files with 1848 additions and 1541 deletions

View file

@ -4,8 +4,8 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/sysv/consts/o.h"
#include "libc/thread/semaphore.h"
#include "libc/sysv/consts/o.h"
#include "third_party/python/Modules/_multiprocessing/multiprocessing.h"
/* clang-format off */
@ -206,10 +206,6 @@ semlock_release(SemLockObject *self, PyObject *args)
# define SEM_FAILED ((sem_t *)-1)
#endif
#ifndef HAVE_SEM_UNLINK
# define sem_unlink(name) 0
#endif
#ifndef HAVE_SEM_TIMEDWAIT
# define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save)