summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-1/+1
|\ | | | | | | non-comment corrections in history.tcl and tcltest.test.
| * Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-1/+1
| | | | | | corrections in history.tcl and tcltest.test.
* | More -Wconversion warning fixesjan.nijtmans2023-03-081-3/+3
|/
* Make everything compile warning-free when TCL_THREADS=0jan.nijtmans2021-08-231-1/+3
|\
| * Remove MODULE_SCOPE function TclpSetInterfaces(), which is just empty. jan.nijtmans2020-03-311-92/+93
| | | | | | Increase size of MSG structure in Cygwin Notifier: Should conform with Win32 size. Some related code cleanup.
| * Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-191-3/+3
| |
| * Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two ↵jan.nijtmans2016-11-181-2/+2
| | | | | | | | missing "static" keywords in tclUnixNotfy.c. Remove some more files in libtommath directory which are not useful for Tcl.
| * (cherry-pick): Fix [d3071887dbc7aeac]: Fix SEGV in Tcl_FinalizeNotifier(). ↵jan.nijtmans2016-03-211-0/+2
| | | | | | | | Thanks to hirofumi for both the bug-report and the fix
* | tip#511 proposed implementationjan.nijtmans2021-08-171-15/+61
| |
* | Fix compiler warning when using select notifierjan.nijtmans2021-04-081-1/+1
| |
* | Refactoring, ahoydkf2021-03-301-48/+91
| |
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-2/+2
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | 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
| |/ |/|