summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* (pause_doc): Sun CC complains about newline in string literalBarry Warsaw1998-07-211-2/+2
|
* # Added missing semicolon (was #ifdef'ed out in edit on Windows).Guido van Rossum1998-06-281-1/+1
|
* Added doc strings.Guido van Rossum1998-06-281-8/+68
|
* Use (void) to throw away a function result, not (void *) !Guido van Rossum1998-05-011-1/+1
|
* os2 patch by Jeff RushGuido van Rossum1997-11-221-0/+5
|
* This fix (across 4 files in 3 directories) solves a subtle problem withGuido van Rossum1997-11-141-0/+9
| | | | | | | | | | | | | | | 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.
* Change the signal finialization so that it also resets the signalGuido van Rossum1997-11-031-1/+7
| | | | | handlers. After this has been called, our signal handlers are no longer active!
* Added configuration tests for presence of alarm(), pause(), and getpwent()Guido van Rossum1997-08-221-4/+4
|
* Add finialization routines; fixed some memory leaks related to this.Guido van Rossum1997-08-021-4/+35
| | | | Reset the SIGINT handler when the finalization is invoked.
* Add sys/types.h include for pid_t when threading.Guido van Rossum1997-06-061-0/+1
|
* Tweaks to keep the Microsoft compiler quier.Guido van Rossum1997-04-091-1/+8
|
* djgpp fix (SIGMAX).Guido van Rossum1997-02-141-0/+4
|
* Arrange for PyErr_CheckSignals() to be called via Py_AddPendingCall().Guido van Rossum1997-01-211-1/+3
| | | | | This avoids having to call sigcheck() (the same routine by its old name :-) in the ticker code in ceval.c's main interpreter loop.
* initsignal(): Py_DECREFs really should be Py_XDECREFs in case theBarry Warsaw1997-01-091-34/+34
| | | | PyInt_FromLong's failed.
* Several changes:Barry Warsaw1997-01-031-105/+157
| | | | | | | | | | | | | | - Conform to standard Python C coding styles. - All static symbols were renamed and shorted. - Eyeballed all return values and memory references. - Fixed a bug in signal.pause() so that exceptions raised in signal handlers are now properly caught after pause() returns. - Removed SIGCPU and SIGFSZ. We surmise that these were typos for the previously missing SIGXCPU and SIGXFSZ.
* initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions forBarry Warsaw1996-12-161-0/+8
| | | | | | | SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether these were typos or if there are systems that use these alternate names. We've checked Solaris, SunOS, and IRIX; they contain only the SIGX* names.
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-0/+4
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Use correct field of sigaction structGuido van Rossum1996-05-291-1/+1
|
* Use sigaction if possibleGuido van Rossum1996-05-231-0/+6
|
* use PyCallable_Check; split some linesGuido van Rossum1995-03-161-12/+19
|
* added PyErr_SetInterrupt(); NT ifdefsGuido van Rossum1995-03-101-1/+16
|
* rename sigcheck so signal handling works againGuido van Rossum1995-01-221-1/+1
|
* cosmeticsGuido van Rossum1995-01-121-1/+1
|
* cosmetic changes so these modules will work with the strict new naming schemeGuido van Rossum1995-01-101-7/+6
|
* do not call newmethodobject directlyGuido van Rossum1995-01-071-5/+3
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-3/+6
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* * various modules: #include "Python.h" and remove most remporaryGuido van Rossum1994-09-141-5/+10
| | | | renaming hacks
* Setup.in: added tkinter; rearranged the definition of PYTHONPATH soGuido van Rossum1994-09-071-188/+193
| | | | | | | | | | | | | | that the module-specific components are in the section for that module. cursesmodule.c: patched it so it actually works. tkintermodule.c: call Py_AtExit instead of atexit(). signalmodule.c: converted to new naming style; added BGN/END SAVE around pause() call. socketmodule.c: added setblocking() after Tommy Burnette.
* * Modules/signalmodule.c: added pause().Guido van Rossum1994-08-231-1/+13
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-0/+14
|
* * Modules/signalmodule.c: added thread compatibility (only mainGuido van Rossum1994-06-231-25/+91
| | | | | | thread uses signals); much improved efficiency; intrcheck() doesn't call sigcheck() but only tests and clears the SIGINT tripped flag.
* Speed up checking for signals and define intrcheck differentlyGuido van Rossum1994-05-311-6/+14
|
* New experimental modules -- signal and sybaseGuido van Rossum1994-05-111-0/+355