aboutsummaryrefslogtreecommitdiff
path: root/src/multiprocessing.c
Commit message (Collapse)AuthorAgeFilesLines
* Wait for signaled processes to hang upJoseph Hunkeler2024-09-181-1/+5
| | | | * Only initiate a kill if we have more than one process. The current process is already failed out, no need to terminate it again.
* Set task status to -1 by defaultJoseph Hunkeler2024-09-181-0/+3
|
* Add comments, remove dead codeJoseph Hunkeler2024-09-181-2/+24
|
* Break parent/child calls into static functionsJoseph Hunkeler2024-09-181-71/+86
|
* Split mp_task into to functionsJoseph Hunkeler2024-09-181-63/+74
|
* Guard against overrunJoseph Hunkeler2024-09-181-2/+6
|
* Add multiprocessing.h to core.hJoseph Hunkeler2024-09-181-1/+1
| | | | * Remove multiprocessing.h from other files
* Fix sem_open initial stateJoseph Hunkeler2024-09-181-27/+14
| | | | | | * Move slot->gate assignment to mp_pool_task() * Remove mmap() to slot->gate. * Change type of ident and log_root variables for the sake of easy (fewer maps)
* Darwin: Remove mmap MAP_POPULATE flagJoseph Hunkeler2024-09-181-3/+3
|
* Darwin portability: Use sem_open and sem_close instead of sem_init and ↵Joseph Hunkeler2024-09-181-4/+7
| | | | sem_destroy
* Fixing headersJoseph Hunkeler2024-09-181-2/+0
|
* Move guard_ macros to core_mem.hJoseph Hunkeler2024-09-181-0/+373
* Move core_mem.h below config.h