0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Modules
Guido van Rossum 359bcaa539 This fix (across 4 files in 3 directories) solves a subtle problem with
signal handlers in a fork()ed child process when Python is compiled with
thread support.  The bug was reported by Scott <scott@chronis.icgroup.com>.

What happens is that after a fork(), the variables used by the signal
module to determine whether this is the main thread or not are bogus,
and it decides that no thread is the main thread, so no signals will
be delivered.

The solution is the addition of PyOS_AfterFork(), which fixes the signal
module's variables.  A dummy version of the function is present in the
intrcheck.c source file which is linked when the signal module is not
used.
1997-11-14 22:24:28 +00:00
..
_cursesmodule.c
_tkinter.c
almodule.c
arraymodule.c
audioop.c
binascii.c
bsddbmodule.c
cdmodule.c
cgen.py
cgensupport.c
cgensupport.h
clmodule.c
cmathmodule.c
config.c.in
cPickle.c
cryptmodule.c
cStringIO.c
cstubs
dbmmodule.c
dlmodule.c
errnomodule.c
fcntlmodule.c
flmodule.c
fmmodule.c
fpectlmodule.c
fpetestmodule.c
gdbmmodule.c
getbuildinfo.c
getpath.c
glmodule.c
grpmodule.c
imageop.c
imgfile.c
ld_so_aix
license.terms
main.c
Makefile.pre.in
makesetup
makexp_aix
mathmodule.c
md5.h
md5c.c
md5module.c
mpzmodule.c
newmodule.c
nismodule.c
operator.c
parsermodule.c
pcre-internal.h
pcre.h
pcremodule.c
posixmodule.c This fix (across 4 files in 3 directories) solves a subtle problem with 1997-11-14 22:24:28 +00:00
puremodule.c
pwdmodule.c
pypcre.c
python.c
readline.c
regexmodule.c
regexpr.c
regexpr.h
reopmodule.c
resource.c
rgbimgmodule.c
rotormodule.c
selectmodule.c
Setup.in
sgimodule.c
signalmodule.c This fix (across 4 files in 3 directories) solves a subtle problem with 1997-11-14 22:24:28 +00:00
socketmodule.c
soundex.c
stdwinmodule.c
stropmodule.c
structmodule.c
sunaudiodev.c
svmodule.c
syslogmodule.c
tclNotify.c
termios.c
threadmodule.c
timemodule.c
timing.h
timingmodule.c
tkappinit.c
xxmodule.c
yuv.h
yuvconvert.c
zlibmodule.c