summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge tip-548. A few more fixes, trying to make the Travis build work (finally)jan.nijtmans2019-09-021-1/+1
|\
* | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-1/+1
|/
* Make new notifier code match Engineering Manual guidelines betterdkf2018-10-221-26/+26
|
* unbreak the builddgp2018-05-231-0/+1
|
* Simplify usage of TCL_THREAD, along the lines of ↵jan.nijtmans2018-05-221-4/+4
| | | | [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF
* Fix build with TCL_THREADS=0 on Linux/other without epoll or kqueu support. ↵jan.nijtmans2018-05-221-11/+10
| | | | In that case, fallback to select notifier
* TIP #491 implementation: Threading Support: phasing out non-threaded buildsjan.nijtmans2018-05-171-5/+5
|
* Fix [040586323610be22f8617962377324f4ddc9bc02|0405863236]: wrong field ↵jan.nijtmans2017-12-101-3/+3
| | | | checked in struct pollfd in TclUnixWaitForFile
* Move some variable declarations closer to where they are used. No change in ↵jan.nijtmans2017-04-261-6/+1
| | | | functionality.
* Merge trunkjan.nijtmans2017-03-241-1/+1
|\
| * Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()jan.nijtmans2017-03-241-2/+2
| |
* | minor simplificationjan.nijtmans2017-03-081-8/+2
| |
* | Fix compile error on Cygwin, and double definition of TclUnixWaitForFile()jan.nijtmans2017-03-081-3/+1
| |
* | Re-base to trunk, and get latest code from here: ↵jan.nijtmans2017-03-081-1077/+228
|\ \ | |/ |/| | | [https://github.com/lalbornoz/tcl/tree/tip458]. Untested.
| * Implementation of improved notifier from Lucio Andrés Illanes Albornoz.dkf2016-11-251-56/+712
|/
* Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-181-2/+2
| | | | to 1.0
* Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-2/+2
|
* Eliminate AT_FORK_INIT_VALUE/RESET_ATFORK_MUTEX macro's, since other values ↵jan.nijtmans2016-03-291-63/+7
| | | | | than the default are not supported anyway. This results in the elimination of (empty functions anyway) AtForkPrepare/AtForkParent. Also improve consistancy in some variable names. No change of functionality.
* .... oops ....jan.nijtmans2016-03-211-1/+1
|
* Proposed fix for [d3071887dbc7aeac]: Fix SEGV in Tcl_FinalizeNotifier()jan.nijtmans2016-03-211-0/+2
|
* Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-1/+1
|\
| * 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-011-1/+1
| | | | | | | | with the brand-new gcc 5.2.0)
* | Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-241-135/+224
|\ \ | |/ | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| * Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-241-137/+228
| |\ | | | | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | * merge trunkjan.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.
| | * 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 bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-1/+9
|\ \ | |/ | | | | 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-4/+12
| |\ | | | | | | | | | 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.
| | * 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.
| | * Fix typo in previous check-in.Joe 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
| | |
| | * Add new public Tcl C API to allow a mutex to be unlocked and then finalized ↵Joe Mistachkin2015-04-091-1/+1
| |/ |/| | | | | atomically. Candidate fix for bug [57945b574a].
* | [e6477e1b0f] Plug memleak in AtForkChild() detected in iocmd-11.4.dgp2014-07-211-2/+2
| |
* | Workaround for [414d10346b]: tcl 8.5.15/8.6.1(threaded build) hangs in exec ↵jan.nijtmans2013-10-291-3/+3
|\ \ | |/ | | | | on HP-UX
| * Workaround for [414d10346b]: tcl 8.5.15/8.6.1(threaded build) hangs in exec ↵jan.nijtmans2013-10-291-3/+3
| | | | | | | | on HP-UX
* | Fix for [d4e464ae48]: tcl 8.5.15/8.6.1 breaks python make check on darwinjan.nijtmans2013-10-071-4/+4
|\ \ | |/