summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fork.cc
Commit message (Collapse)AuthorAgeFilesLines
* * exceptions.cc (sigsave): Copy on fork so that we can restore correct behaviorChristopher Faylor2000-04-081-1/+2
| | | | | | | | | | | | | in forked process. (interruptible): Flag as interruptible when running in main process module. (interrupt_setup): Save return address and address of return address. (signal_fixup_after_fork): New function. Uses above two values to restore proper behavior to forked process. (interrupt_on_return): Pass return address address to interupt_setup. (interrupt_now): Pass NULL for return address address to interrupt_setup. * fork.cc (fork): Call signal_fixup_after_fork. * shared.h: Lint cleanups. * winsup.h: Ditto.
* * exceptions.cc (interruptible): Change method for determining if something isChristopher Faylor2000-02-241-1/+1
| | | | | | | | | | | | | | interruptible. (call_handler): Avoid suspending a thread if it owns a mutex. Only set signal_arrived if the thread was actually interrupted. (events_init): Initialize module information needed by interruptible(). (sigdelayed): Don't call sig_dispatch_pending since it could screw up * init.cc (dll_entry): Record module handle of main for use by interruptible(). (proc_subproc): Reorganize handling of terminated child so that the bulk of the processing comes from the signal thread. (wait_sig): Force processing of waiting threads if SIGCHLD is not processed. * sync.cc (muto::release): Set tid == 0 after lock is released or signal processor will be confused.
* Respond to more g++ warnings relating to initializing structures.Christopher Faylor2000-02-231-2/+2
|
* Respond to a multitude of g++ warnings.Christopher Faylor2000-02-211-4/+3
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+625