summaryrefslogtreecommitdiffstats
path: root/win/tclWinThrd.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkjan.nijtmans2018-05-231-5/+5
|\
| * Simplify usage of TCL_THREAD, along the lines of ↵jan.nijtmans2018-05-221-5/+5
| | | | | | | | [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF
| * TIP #491 implementation: Threading Support: phasing out non-threaded buildsjan.nijtmans2018-05-171-5/+5
| |
| * Remove compat/float.h and related machinery. The last system known where ↵jan.nijtmans2017-11-151-2/+0
| | | | | | | | | | this was needed was SunOS-4, which is not supported by Tcl any more for a long ... long time .... Also, fix a typo in generic/tclInt.h and remove some end-of-line spacing.
* | More internal use of size_t. Eliminate unused "isBin" argument from ↵jan.nijtmans2016-12-011-1/+1
| | | | | | | | TclpSysAlloc()
* | merge trunkjan.nijtmans2016-11-161-1/+1
|\ \ | |/
| * Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-1/+1
| | | | | | | | type-casts which are not necessary any more.
* | merge trunkjan.nijtmans2016-10-111-2/+4
|\ \ | |/
| * Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread existsjan.nijtmans2016-10-111-2/+4
| |\
| | * Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread existsjan.nijtmans2016-10-111-2/+4
| | |\
* | | \ Merge trunkjan.nijtmans2016-06-301-1/+1
|\ \ \ \ | |/ / /
| * | | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-5/+5
| | | |
* | | | merge trunkjan.nijtmans2016-06-141-7/+4
|\ \ \ \ | |/ / /
| * | | Fix [7393be0be6e7f91cbb2016fa777896e3895929e3|7393be0be6]: Tcl Thread ↵jan.nijtmans2016-06-141-7/+4
| |\ \ \ | | |/ / | | | | | | | | library doesn't work in Debug build on Windows_x64
| | * | Fix [7393be0be6e7f91cbb2016fa777896e3895929e3|7393be0be6]: Tcl Thread ↵jan.nijtmans2016-06-141-7/+4
| | |\ \ | | | |/ | | | | | | | | library doesn't work in Debug build on Windows_x64
| | | * Fix [7393be0be6e7f91cbb2016fa777896e3895929e3|7393be0be6]: Tcl Thread ↵jan.nijtmans2016-06-141-7/+4
| | | | | | | | | | | | | | | | library doesn't work in Debug build on Windows_x64
* | | | Merge trunk. Remove excess spacing.jan.nijtmans2016-04-011-2/+2
|\ \ \ \ | |/ / /
| * | | RFE [0ef5e653ff4caf5f896ec1182e0aac38ab9a0c46|0ef5e653]: Add nsf to ↵jan.nijtmans2016-04-011-2/+2
| |\ \ \ | | |/ / | | | | | | | | coffbase.txt. Eliminate exess spacing
* | | | merge trunkjan.nijtmans2016-04-011-18/+15
|\ \ \ \ | |/ / /
| * | | Two micro-optimizations in Win and UNIX notifier. See: ↵jan.nijtmans2016-04-011-18/+15
| |\ \ \ | | | | | | | | | | | | | | | [http://code.activestate.com/lists/tcl-core/15645/]
| | * | | - Undo unix notifier changes: too risky at this moment. jan.nijtmans2016-03-251-18/+15
| |/ / / | | | | | | | | | | | | - Merge trunk - (cherry-pick from dhr-micro-optimization): Micro-optimization: remove double checked lock from TclGetAllocCache in favour of initialization in TclInitSubsystems
* | | | merge trunkjan.nijtmans2016-03-211-17/+14
|\ \ \ \ | |/ / /
| * | | Fix [d3071887dbc7aeac]: Fix SEGV in Tcl_FinalizeNotifier(). Thanks to ↵jan.nijtmans2016-03-211-17/+14
| |/ / | | | | | | | | | | | | | | | | | | hirofumi for both the bug-report and the fix. Use TclpMasterLock() in stead of MASTER_LOCK everywhere (in stead of in some files only, not in others). Use "static int initialized" variable consistantly. Fix some comments. No change of functionality.
* | | merge trunkjan.nijtmans2015-10-191-35/+2
|\ \ \ | |/ /
| * | Bring back Tcl_MutexLock() to exact implementation in Tcl 8.6.4. For ↵jan.nijtmans2015-10-181-35/+2
| |\ \ | | |/ | | | | | | details, see [ba44e415a0]: Use of mutexLock causes problem with reactive event handling in AndroWish
| | * Bring back Tcl_MutexLock() to exact implementation in Tcl 8.5.18. For ↵jan.nijtmans2015-10-181-35/+2
| | |\ | | | | | | | | | | | | details, see [ba44e415a0]: Use of mutexLock causes problem with reactive event handling in AndroWish
| | | * Proposed fix for [ba44e415a0]: "Use of mutexLock causes problem with ↵jan.nijtmans2015-10-171-32/+5
| | |/ | |/| | | | | | | | | | reactive event handling in AndroWish". This basically undoes the retry mechamism in Tcl_MutexLock, introduced in [9f8b7bea53]. Does this retry mechamism hurt more than it helps? Feedback requested.
* | | merge trunkjan.nijtmans2015-09-251-50/+4
|\ \ \ | |/ /
| * | Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-241-50/+4
| |\ \ | | |/ | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | * Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-241-50/+4
| | |\ | | | | | | | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | | * merge trunk. jan.nijtmans2015-08-191-50/+4
| | |/ | |/| | | | Remove now unused internal functions.
* | | merge trunkdgp2015-07-291-2/+81
|\ \ \ | |/ /
| * | Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-2/+81
| |\ \ | | |/ | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| | * Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-2/+81
| | |\ | | | | | | | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| | | * This should completely fix the race conditions at the cost of more ↵Joe Mistachkin2015-05-171-7/+23
| | | | | | | | | | | | | | | | complexity. Also, on Unix, a more reliable means than Tcl_Sleep() of sleeping for a short time is needed.
| | | * Fix deadlock.Joe Mistachkin2015-05-171-1/+1
| | | |
| | | * Draft fix for a potential race condition in the new ↵Joe Mistachkin2015-05-171-0/+63
| | |/ | |/| | | | | | | Tcl_MutexUnlockAndFinalize API. Not yet tested.
| * | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
| |\ \ | | |/
| | * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-1/+0
| | |
* | | merge trunkjan.nijtmans2013-01-191-3/+0
|\ \ \ | |/ /
* | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-12-211-4/+4
|\ \ \ | |/ / |/| | | | | for the compiler.
| * | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-08-201-4/+4
| | | | | | | | | | | | for te compiler.
* | | Workaround for mingw versions which don't provide _fpcontrol in float.hjan.nijtmans2012-11-141-0/+8
|\ \ \ | | |/ | |/|
| * | Workaround for mingw versions which don't provide _fpcontrol in float.hjan.nijtmans2012-11-141-0/+8
| |\ \
| | * | Workaround for mingw versions which don't provide _fpcontrol in float.hjan.nijtmans2012-11-141-0/+8
| | | |
* | | | 360894 Threads inherit floating point config from their creator threaddgp2012-11-131-4/+71
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | 360894 Threads inherit floating point config from their creator thread.dgp2012-11-131-4/+71
| |\ \ | | |/
| | * Make compilation of the fp control changes possible with MinGW.Joe Mistachkin2012-09-131-3/+10
| | |
| | * Free the WinThread structure before running the original thread procedure.Joe Mistachkin2012-09-131-1/+8
| | |
| | * Initial work on SF FRQ #3567063.Joe Mistachkin2012-09-131-4/+56
| | |