summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Bring back Tcl_MutexLock() to exact implementation in Tcl 8.6.4. For ↵jan.nijtmans2015-10-181-49/+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-49/+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 ↵bug_ba44e415a0jan.nijtmans2015-10-171-46/+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.
* | Tcl/OpenBSD/Sparc needs -fPIC.stwo2015-10-092-2/+2
| |
* | Where "interp" is only used for error-reporting, it can be allowed to be ↵jan.nijtmans2015-10-071-11/+14
| | | | | | | | NULL. This should fix [5da26d4760]: Tcl_LoadFile() segfaults if "interp" is NULL.
* | Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-1/+1
|\ \
* \ \ Fix [219866c1e9]: platform::identify: regexp doesn't match platform -> ↵jan.nijtmans2015-09-291-2/+2
|\ \ \ | | | | | | | | | | | | platform 1.0.14
* \ \ \ Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-242-191/+228
|\ \ \ \ | | | | | | | | | | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | | | * Tcl/OpenBSD/Sparc needs -fPIC.stwo2015-10-092-2/+2
| | | |/
| | | * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-1/+1
| | | |
| | | * Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested ↵jan.nijtmans2015-10-013-7/+7
| | |/ | | | | | | | | | with the brand-new gcc 5.2.0)
| | * proposed fix for [219866c1e9]: platform::identify: regexp doesn't match platformbug_219866c1e9jan.nijtmans2015-09-251-2/+2
| |/
| * Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-242-193/+232
| |\ | | | | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | * merge trunkbug_5d170b5ca5jan.nijtmans2015-09-241-2/+2
| | |\ | |_|/ |/| |
* | | merge-mark (almost, just a few cosmetic changes)jan.nijtmans2015-09-241-2/+2
|\ \ \ | |/ /
| * | Clean-up tclUnixNotfy.c, restructure it the same as "trunk" version. No ↵jan.nijtmans2015-09-241-179/+207
| | | | | | | | | | | | functional changes. This will make upcoming merging work easier.
| | * Fix for [5d170b5ca5] now available for widespread testing (incl. HPUX and OSX)jan.nijtmans2015-09-071-3/+3
| | |
| | * Merge trunk. jan.nijtmans2015-09-051-0/+6
| | |\ | |_|/ |/| | "paranoia" patch for the notifier, making sure that thread local data from invalid threads are never accessed by the forked main thread.
| | * In StartNotifierThread() don't lock mutex if thread is already started. jan.nijtmans2015-09-031-50/+22
| | | | | | | | | | | | Fix panic message if thread cannot be started. Remove asserts used for debugging.
| | * Fix the Cygwin notifier, doing the initialization of the thread-local ↵jan.nijtmans2015-09-021-41/+33
| | | | | | | | | | | | variables exactly the same as the Unix notifier.
| | * Merge trunk. jan.nijtmans2015-09-021-2/+2
| | |\ | |_|/ |/| | Gustaf's latest and greatest fix.
| | * Merge trunk. jan.nijtmans2015-08-311-1/+12
| | |\ | |_|/ |/| | Add Gustaf's latest fix for unit-tests.
| | * merge trunkjan.nijtmans2015-08-251-2/+5
| | |\ | |_|/ |/| |
* | | Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to ↵jan.nijtmans2015-08-251-2/+5
|\ \ \ | |/ / | | | | | | TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized.
| * | Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to ↵jan.nijtmans2015-08-251-2/+5
| | | | | | | | | | | | TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized.
| | * merge trunk. jan.nijtmans2015-08-191-56/+4
| | |\ | |_|/ |/| | Remove now unused internal functions.
| | * remove superfluous fprintf to stderr.jan.nijtmans2015-08-171-1/+0
| | |
| | * Merge trunk.jan.nijtmans2015-08-171-48/+45
| | |\ | |_|/ |/| | More notifier code cleanup.
| | * Merge trunk.jan.nijtmans2015-08-171-203/+199
| | |\ | |_|/ |/| | Gustaf's latest Unix Notifier improvements, now fixed to work with Cygwin and single-threaded as well.
| | * Gustaf Neumann's experimental Unix notifier improvements.jan.nijtmans2015-08-061-4/+120
| |/ |/|
* | fix off-by-one possible buffer overrun when looking for encodings; found by ↵Miguel Sofer2015-07-311-1/+1
| | | | | | | | coverity
* | Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-235-3/+388
|\ \ | |/ | | | | 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-235-10/+396
| |\ | | | | | | | | | 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.
| | * merge trunkbug_57945b574a_without_stubjan.nijtmans2015-07-154-26/+55
| | |\ | |_|/ |/| |
| | * Rename the new API to TclMutexUnlockAndFinalize as it is not platform-specific.Joe Mistachkin2015-06-171-1/+1
| | |
| | * Change Tcl_MutexUnlockAndFinalize() to internal function ↵jan.nijtmans2015-06-161-1/+1
| | | | | | | | | | | | TclpMutexUnlockAndFinalize(). This does not require a TIP, and still should fix the reported bug.
| | * The unit for usleep() is microseconds, not milliseconds.Joe Mistachkin2015-06-081-1/+1
| | |
| | * merge trunktesteddgp2015-05-284-15/+4
| | |\
| | * | Fix typo in previous check-in.experimentalJoe Mistachkin2015-05-271-4/+4
| | | |
| | * | Make sure the master and mutex locks are in a well-known state across the ↵Joe Mistachkin2015-05-271-0/+6
| | | | | | | | | | | | | | | | fork() call.
| | * | Additional mutex locking/unlocking during fork() to keep things synchronized.Joe Mistachkin2015-05-211-0/+2
| | | |
| | * | Don't change autoconf version by accident.dgp2015-05-201-4940/+13712
| | | |
| | * | regenerate configuredkf2015-05-181-13518/+4977
| | | |
| | * | First attempt at implementing the necessary auto-magic for usleep.Joe Mistachkin2015-05-183-8/+48
| | | |
| | * | Adjust tweaks from the previous check-in to prepare for configure detection ↵Joe Mistachkin2015-05-181-2/+10
| | | | | | | | | | | | | | | | of usleep().
| | * | Temporary tweaks to allow Thread package tests to pass on Unix.Joe Mistachkin2015-05-171-1/+5
| | | |
| | * | This should completely fix the race conditions at the cost of more ↵Joe Mistachkin2015-05-171-7/+34
| | | | | | | | | | | | | | | | 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
| | | |
| | * | Merge updates from trunk.Joe Mistachkin2015-05-171-3/+3
| | |\ \
| | * | | Draft fix for a potential race condition in the new ↵Joe Mistachkin2015-05-171-0/+67
| | | | | | | | | | | | | | | | | | | | Tcl_MutexUnlockAndFinalize API. Not yet tested.