| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fast NonRecursiveMutex support by Yakov Markovitch, markovitch@iso.ru, | Guido van Rossum | 2000-05-04 | 1 | -25/+113 | |
| | | | | | | | | | | | | | | | | | | | 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). | |||||
| * | The rest of the changes by Trent Mick and Dale Nagata for warning-free | Guido van Rossum | 2000-01-20 | 1 | -1/+1 | |
| | | | | | compilation on NT Alpha. Mostly added casts etc. | |||||
| * | Thanks to Chris Herborth, the thread primitives now have proper Py* | Guido van Rossum | 1998-12-21 | 1 | -45/+45 | |
| | | | | | | names in the source code (they already had those for the linker, through some smart macros; but the source still had the old, un-Py names). | |||||
| * | Use _beginthread() and _endthread() in favor of CreateThread() and | Guido van Rossum | 1997-08-14 | 1 | -16/+8 | |
| | | | | | | | | ExitThread(). As discussed in c.l.p, this takes care of initialization and finalization of thread-local storage allocated by the C runtime system. Not sure whether non-MS compilers grok this though (but who cares :-). | |||||
| * | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 | |
| | | ||||||
| * | Sjoerd's thread changes (including down_sema typo fix). | Guido van Rossum | 1996-10-08 | 1 | -1/+5 | |
| | | | | | Note: waitflag not supported on NT. | |||||
| * | nt thread support | Guido van Rossum | 1995-01-17 | 1 | -0/+245 | |
