summaryrefslogtreecommitdiff
path: root/Python/thread.c
AgeCommit message (Collapse)AuthorLines
1995-01-17nt thread supportGuido van Rossum-0/+4
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
1994-08-30Merge back to main trunkGuido van Rossum-546/+53
1993-12-03Port to Solaris 2.3.Sjoerd Mullender-39/+164
1993-10-12Added widget methods {Height,Width}{,MM}OfScreen.Sjoerd Mullender-1/+1
1993-01-26* Added Fixcprt.py: script to fix copyright message.Guido van Rossum-0/+24
* various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
1993-01-13ushdr_t was not defined so fill in its size instead of using sizeof.Sjoerd Mullender-2/+3
1993-01-13Added error checking.Sjoerd Mullender-21/+82
Improved coexistance with dl module.
1993-01-06Various changes.Sjoerd Mullender-5/+14
* Makefile: svmodule.c.proto and svgen.py are gone, svmodule.c came in their stead. Also, pass -DUSE_DL flag to thread.c and give the user a possibility to add the -DDEBUG to just thread.c. * ceval.c: init_save_thread() can be called more than once now. * svgen.py, svmodule.c.proto, svmodule.c: Removed prototype file and replaced it by the generated file. * thread.c: Added some more checks; added call to DL library when it is also used to tell it where the shared arena is so that DL can use some other area. * threadmodule.c: Call init_save_thread from another place. Also, added new function getlocklock() which does to lock objects what getfilefile does to file objects.
1992-09-11Added C++ support in thread.h; don't use signals if not strictlySjoerd Mullender-5/+16
necessary, and when they are, use SIGKILL; when compiled with -DDEBUG, only print debug messages when "THREADDEBUG" is set in the environment.
1992-09-02newest versionSjoerd Mullender-91/+0
1992-09-02adapted SV module to the new svideo library.Sjoerd Mullender-0/+91
update thread package.
1992-08-17New thread.c from Sjoerd, supports _exit_prog(). Use this in goaway()Guido van Rossum-89/+221
to avoid hanging in cleanup().
1992-08-05* Makefile: cosmeticsGuido van Rossum-4/+4
* socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
1992-08-04* Makefile adapted to changes below.Guido van Rossum-0/+263
* split pythonmain.c in two: most stuff goes to pythonrun.c, in the library. * new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}. * new module from Sjoerd: mmmodule.c (dynamically loaded). * new module from Sjoerd: sv (svgen.py, svmodule.c.proto). * new files thread.{c,h} (from Sjoerd). * new xxmodule.c (example only). * myselect.h: bzero -> memset * select.c: bzero -> memset; removed global variable