diff options
author | rpj <rpj> | 1998-07-24 09:45:04 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-24 09:45:04 +0000 |
commit | 99acb3fb113a739fe65a3593d86dabaf9d676b67 (patch) | |
tree | 172a2585f08833a5feab290153579feb3f2d807f /ChangeLog | |
parent | 82fa43b768e09bf30669351b61eb2f94cb1c71a3 (diff) |
Fri Jul 24 16:33:17 1998 Ross Johnson <rpj@swan.canberra.edu.au>
* fork.c (pthread_atfork): Add all the necessary push calls.
Local implementation semantics:
If we get an ENOMEM at any time then ALL handlers
(including those from previous pthread_atfork() calls) will be
popped off each of the three atfork stacks before we return.
(fork): Add all the necessary pop calls. Add the thread cancellation
and join calls to the child fork.
Add #includes.
* implement.h: (_pthread_handler_push): Fix return type and stack arg
type in prototype.
(_pthread_handler_pop): Fix stack arg type in prototype.
(_pthread_handler_pop_all): Fix stack arg type in prototype.
* cleanup.c (_pthread_handler_push): Change return type to int and
return ENOMEM if malloc() fails.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,22 @@ Fri Jul 24 16:33:17 1998 Ross Johnson <rpj@swan.canberra.edu.au> + * fork.c (pthread_atfork): Add all the necessary push calls. + Local implementation semantics: + If we get an ENOMEM at any time then ALL handlers + (including those from previous pthread_atfork() calls) will be + popped off each of the three atfork stacks before we return. + (fork): Add all the necessary pop calls. Add the thread cancellation + and join calls to the child fork. + Add #includes. + + * implement.h: (_pthread_handler_push): Fix return type and stack arg + type in prototype. + (_pthread_handler_pop): Fix stack arg type in prototype. + (_pthread_handler_pop_all): Fix stack arg type in prototype. + + * cleanup.c (_pthread_handler_push): Change return type to int and + return ENOMEM if malloc() fails. + * sync.c (pthread_detach): Use equality test, not assignment. * create.c (_pthread_start_call): Add call to Win32 CloseHandle() |