cpython/Python
Guido van Rossum 706262bde0 Fast NonRecursiveMutex support by Yakov Markovitch, markovitch@iso.ru,
who wrote:

Here's the new version of thread_nt.h.  More particular, there is a
new version of thread lock that uses kernel object (e.g. semaphore)
only in case of contention; in other case it simply uses interlocked
functions, which are faster by the order of magnitude.  It doesn't
make much difference without threads present, but as soon as thread
machinery initialised and (mostly) the interpreter global lock is on,
difference becomes tremendous.  I've included a small script, which
initialises threads and launches pystone.  With original thread_nt.h,
Pystone results with initialised threads are twofold worse then w/o
threads.  With the new version, only 10% worse.  I have used this
patch for about 6 months (with threaded and non-threaded
applications).  It works remarkably well (though I'd desperately
prefer Python was free-threaded; I hope, it will soon).
2000-05-04 18:47:15 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
atof.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
bltinmodule.c Vladimir Marangozov's long-awaited malloc restructuring. 2000-05-03 23:44:39 +00:00
ceval.c Add useless 'return 1' to prtrace() to shut up VC++. 2000-05-04 00:55:17 +00:00
codecs.c Marc-Andre's third try at this bulk patch seems to work (except that 2000-04-05 20:11:21 +00:00
compile.c Vladimir Marangozov's long-awaited malloc restructuring. 2000-05-03 23:44:39 +00:00
dup2.c MPW changes 1994-08-29 10:43:12 +00:00
dynload_aix.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_beos.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_dl.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_hpux.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_mac.c Jack Jansen: The new version of the GUSI i/o library on the Macintosh 2000-04-24 15:08:18 +00:00
dynload_next.c Skip Montanaro: add string precisions to calls to PyErr_Format 2000-04-10 12:46:51 +00:00
dynload_os2.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_shlib.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
dynload_stub.c The old platform-specific contents of importdl.c, broken down into one 1999-12-20 21:18:49 +00:00
dynload_win.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
errors.c PyErr_GivenExceptionMatches(): Check for err==NULL and exc==NULL and 2000-05-02 19:27:51 +00:00
fmod.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
frozen.c Add primitive test for frozen package. 1998-04-03 21:10:36 +00:00
frozenmain.c Call PyInitFrozenExtensions() as requested by Mark Hammond (his patch). 1999-01-02 21:42:48 +00:00
getargs.c Brian Hooper <brian_takashi@hotmail.com>: 2000-05-03 15:17:02 +00:00
getcompiler.c Make it return a _const_ char*. 1997-07-19 19:48:41 +00:00
getcopyright.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
getcwd.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
getmtime.c First part of package support. 1997-09-05 07:33:22 +00:00
getopt.c Tim Peters discovered a bug in the Python-supplied getopt(): 1999-09-13 13:45:32 +00:00
getplatform.c Make it return a _const_ char*. 1997-07-19 19:48:41 +00:00
getversion.c Allow longer strings (up to 80 chars each) for version, build, 1999-04-22 12:03:40 +00:00
graminit.c slightly modified version of Greg Ewing's extended call syntax patch 2000-03-28 23:49:17 +00:00
hypot.c *** empty log message *** 1996-08-29 18:10:41 +00:00
import.c Vladimir Marangozov's long-awaited malloc restructuring. 2000-05-03 23:44:39 +00:00
importdl.c Cleanup patches from Greg Stein: 1999-12-22 14:09:35 +00:00
importdl.h For Windows, need to add #include <windows.h>. 1999-12-20 22:55:03 +00:00
Makefile.in Marc-Andre Lemburg: add new unicode files 2000-03-10 23:04:14 +00:00
marshal.c Vladimir Marangozov's long-awaited malloc restructuring. 2000-05-03 23:44:39 +00:00
memmove.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
modsupport.c Brian Hooper <brian_takashi@hotmail.com>: 2000-04-28 14:42:37 +00:00
mystrtoul.c Changes by Mark Hammond for Windows CE. Mostly of the form 1999-04-07 16:07:23 +00:00
pyfpe.c Restructure the file so that it is never empty. No longer needs 1998-08-25 17:48:25 +00:00
pystate.c CRITICAL PATCH! 1999-06-18 14:22:24 +00:00
pythonmain.c Allow mac user to set "command line flags" by option-starting python. 1995-07-29 13:53:59 +00:00
pythonrun.c Vladimir Marangozov's long-awaited malloc restructuring. 2000-05-03 23:44:39 +00:00
sigcheck.c Quickly renamed the remaining files -- this directory is done. 1997-04-29 20:08:16 +00:00
strdup.c Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
strerror.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
strtod.c Changes by Mark Hammond for Windows CE. Mostly of the form 1999-04-07 16:07:23 +00:00
structmember.c Trivial little change: when setting a member to an object, hold the 1998-05-20 22:25:32 +00:00
sysmodule.c Simplify creation of the version_info value for clarity, per 2000-04-13 20:03:20 +00:00
thread_beos.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_cthread.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_foobar.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_lwp.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_nt.h Fast NonRecursiveMutex support by Yakov Markovitch, markovitch@iso.ru, 2000-05-04 18:47:15 +00:00
thread_os2.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_pthread.h Rob Riggs wrote: 1999-03-15 20:27:53 +00:00
thread_sgi.h Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
thread_solaris.h While I can't really test this thoroughly, Pat Knight and the Solaris 1999-04-13 14:32:12 +00:00
thread_wince.h Win/CE thread support by Mark Hammond. 1999-04-08 13:57:06 +00:00
thread.c Jack Jansen: Posix threads are now supported on the Macintosh too. 2000-04-24 15:06:51 +00:00
traceback.c Vladimir Marangozov's long-awaited malloc restructuring. 2000-05-03 23:44:39 +00:00