]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: stop the listen_client thread before fork/exec
authorKen Brown <kbrown@cornell.edu>
Sat, 20 Apr 2019 15:41:12 +0000 (11:41 -0400)
committerKen Brown <kbrown@cornell.edu>
Sat, 20 Apr 2019 18:31:07 +0000 (14:31 -0400)
commit4443100b53f4ede899da9ebcdea87d3dea93eb4a
tree86305f709b301adb531377d530e8f334f15f5366
parent252cd0ce2bfb74e8cdd79c9d4c48d11beb21d8e9
Cygwin: FIFO: stop the listen_client thread before fork/exec

Add methods need_fixup_before, init_fixup_before, and
fixup_before_fork_exec to accomplish this.  Stopping the thread makes
sure that the client handler lists of the parent and child remain in
sync while the forking/execing is in progress.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_fifo.cc
This page took 0.028997 seconds and 5 git commands to generate.