Tcl package Thread source code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

108 check-ins using file tcl/cmdsrv/cmdsrv.tcl version 58acf69769

2019-09-19
13:01
Merge 2.8 check-in: be23717d8b user: jan.nijtmans tags: trunk
13:00
Remove win/threadWin.c, as it's empty anyway. Don't compile Thread with -DUNICODE, since it doesn't access WIN32 UNICODE API anyway. check-in: 494c9b705a user: jan.nijtmans tags: thread-2-8-branch
2019-09-12
21:49
Merge 2.8 branch check-in: 4aa1157848 user: jan.nijtmans tags: trunk
21:47
Update rules.vc to latest version check-in: 97b8a49cb3 user: jan.nijtmans tags: thread-2-8-branch
2019-09-04
10:58
Merge thread-2-8-branch check-in: a619025fe9 user: jan.nijtmans tags: trunk
10:52
When using Tcl 8.7 headers, don't worry about threaded-allocator mismatch any more in rules.vc check-in: b72f56f3e5 user: jan.nijtmans tags: thread-2-8-branch
2019-08-29
10:50
Update rules.vc check-in: 656a0532a5 user: jan.nijtmans tags: thread-2-8-branch
08:36
Merge thread-2-8-branch check-in: e6d9d2cfcc user: jan.nijtmans tags: trunk
08:31
Update rules.vc to latest version check-in: 25a2173fc5 user: jan.nijtmans tags: thread-2-8-branch
2019-08-21
13:20
Merge 2.8 check-in: 5ce26b72bd user: jan.nijtmans tags: trunk
13:17
TEA update: fix system recognition for some msys toolchains (providing uname -s = MSYS_NT-10.0) check-in: e101054a01 user: jan.nijtmans tags: thread-2-8-branch
2019-08-12
12:39
Merge 2.8 check-in: bdc074fd78 user: jan.nijtmans tags: trunk
12:25
Code cleanup: Eliminate "register" keyword and various unnecessary type-casts check-in: 32f963aa06 user: jan.nijtmans tags: thread-2-8-branch
2019-07-26
14:23
closes [b5709ea906]: thread::send - short circuit sending to itself should consider order of already dispatched events, and such events are expected definitely before any IDLE event, only the event synchronously sends to head of queue is expected as first to be processed; added test illustrating and covering the issue. check-in: f0bd14f53f user: sebres tags: trunk
2019-07-03
11:13
Merge 2.8 branch check-in: b046c2b131 user: jan.nijtmans tags: trunk
11:12
Make keyedListType MODULE_SCOPE check-in: 64888f72a9 user: jan.nijtmans tags: thread-2-8-branch
10:43
Merge 2.8 branch. Use TCL_INDEX_NONE as appropriate check-in: 7120359506 user: jan.nijtmans tags: trunk
09:49
Don't bother Tcl 9.0 compatibility, doesn't work for thread 2.8 anyway. check-in: a0e46ee19d user: jan.nijtmans tags: thread-2-8-branch
2019-07-02
13:44
Merge 2.8 branch check-in: b5cc0241a8 user: jan.nijtmans tags: trunk
13:38
Make everything compile with a C++ compiler check-in: 98e6ef4220 user: jan.nijtmans tags: thread-2-8-branch
2019-06-29
14:39
Merge 2.8 branch check-in: 629db64158 user: jan.nijtmans tags: trunk
14:38
Use Tcl's built-in Tcl_GetIntForIndex() function (TIP #544) in stead of Thread's own built-in SvGetIntForIndex(). When running on Tcl <= 8.6, use TclGetIntForIndex() in stead (runtime switched) check-in: 91cf470a77 user: jan.nijtmans tags: thread-2-8-branch
2019-05-17
12:28
Merge thread-2.8-branch check-in: b5278091b6 user: jan.nijtmans tags: trunk
12:27
Doc improvements, backported from trunk. check-in: d3520adc0e user: jan.nijtmans tags: thread-2-8-branch
12:19
Don't thrust availability of Tcl_GetUnicodeFromObj(): If it's not there, just don't use it. check-in: 72ee9d48e5 user: jan.nijtmans tags: thread-2-8-branch
2019-05-09
16:20
small amend check-in: 6eef222a2f user: sebres tags: trunk
16:05
clarifying of thread::create documentation, closes [f5a5c23f47bef3d7] check-in: 65f81bd56a user: sebres tags: trunk
2019-03-28
20:18
merge-mark check-in: ffb96f851c user: jan.nijtmans tags: trunk
20:17
Update version number to 2.8.5, as preparation for next release check-in: 737ee63e1a user: jan.nijtmans tags: thread-2-8-branch
2019-03-27
23:56
Merge 2.8 check-in: cab55a1f66 user: jan.nijtmans tags: trunk
2019-03-25
08:54
Tcl_StringMatch -> Tcl_StringCaseMatch, since Tcl_StringMatch is actually a wrapper around Tcl_StringCaseMatch check-in: 36eb02f241 user: jan.nijtmans tags: thread-2-8-branch
2019-03-20
14:48
Merge 2.8 branch check-in: 0619548927 user: jan.nijtmans tags: trunk
14:47
Further amend to [fe731813cd]: When using Tcl from the utf-max-6 branch (TIP upcoming), compiled with TCL_UTF_MAX>3, then use The Utf-32 version of Tcl_GetUnicodeFromObj() in stead of the Utf-16 version, switchable at run-time. check-in: 67e9a624e2 user: jan.nijtmans tags: thread-2-8-branch
2019-03-19
15:42
merge 2.8 check-in: add8f8baeb user: sebres tags: trunk
15:38
amend to [fe731813cd]: use Tcl_GetUnicodeFromObj (instead of Tcl_GetCharLength) for object-conversion in order to find string-type; There are really tcl-versions (or forks;) where Tcl_GetCharLength would not necessarily convert object to unicode. check-in: b49a179e29 user: sebres tags: thread-2-8-branch
15:03
Merge 2.8 check-in: ba84bb8eed user: jan.nijtmans tags: trunk
15:01
Eliminate use of Tcl_UniChar type, so Thread compilation doesn't depend on value of TCL_UTF_MAX any more. check-in: fe731813cd user: jan.nijtmans tags: thread-2-8-branch
2019-03-15
14:05
Eliminate some useless type-casts check-in: d8ef48d392 user: jan.nijtmans tags: thread-2-8-branch
2019-03-08
20:23
Merge 2.8 check-in: f2f87df486 user: jan.nijtmans tags: trunk
20:23
Fix harmless gcc/MSVC compiler warnings. Somewhat more size_t usage. check-in: 2f57e12886 user: jan.nijtmans tags: thread-2-8-branch
2019-02-09
21:22
Merge thread-2-8-branch check-in: 53b1fa86b0 user: jan.nijtmans tags: trunk
21:20
Use Tcl_BackgroundException in the source code. Re-generate configure script check-in: 32c4688af0 user: jan.nijtmans tags: thread-2-8-branch
2018-12-03
15:12
Integrate [bb825fdd0c129732]: add -command option to [thread::send] check-in: 2ac38ca6c1 user: jan.nijtmans tags: trunk
2018-11-24
09:08
Merge 2.8 branch check-in: 5fef77d225 user: jan.nijtmans tags: trunk
2018-11-01
11:53
Add support for DragonFly check-in: 1bdae795ea user: jan.nijtmans tags: thread-2-8-branch, thread-2-8-4
2018-10-16
21:38
Merge 2.8 branch check-in: d47d91d523 user: jan.nijtmans tags: trunk
21:37
Update to latest TEA (latest commit reverted there). Otherwise it doesn't build on (at least) Linux check-in: 12c30f326b user: jan.nijtmans tags: thread-2-8-branch
2018-10-12
18:50
Merge 2.8 branch check-in: 8e3563ad57 user: jan.nijtmans tags: trunk
18:49
Update to latest TEA check-in: bc87912bdc user: jan.nijtmans tags: thread-2-8-branch
18:41
merge-mark check-in: e8dcabfdf7 user: jan.nijtmans tags: trunk
18:40
Re-number to 2.8.4 for release check-in: 4059955b4e user: jan.nijtmans tags: thread-2-8-branch
2018-10-01
20:54
Pulling changes from trunk Leaf check-in: d3a0e02691 user: seandeelywoods tags: practcl
2018-07-17
21:07
add -command option to [thread::send] Closed-Leaf check-in: bb825fdd0c user: pooryorick tags: pyk-sendcmd
11:31
merge 2.8 check-in: b58409de1c user: sebres tags: trunk
11:30
code review check-in: dcb4f6c364 user: sebres tags: thread-2-8-branch
10:24
merge 2.8 (test-cases) check-in: 8c4a3c600d user: sebres tags: trunk
10:23
test-cases extended check-in: 1765cdf3c9 user: sebres tags: thread-2-8-branch
09:59
merge 2.8 check-in: b925b34699 user: sebres tags: trunk
09:54
more extensive fix for [76f47e0376fb] and similar errors (additionally avoid segfault if string representation would be broken, e. g. without NTS 0-byte). check-in: 98170da165 user: sebres tags: thread-2-8-branch
06:21
fix for [76f47e0376fb], thread::send -async script varname aborts with "alloc: invalid block" check-in: 3026826a66 user: pooryorick tags: trunk
2018-07-14
22:38
Reword documentation for -eventmark. Regenerate documentation. check-in: dc05603999 user: pooryorick tags: trunk
2018-06-18
08:27
Merge thread-2-8-branch check-in: a52f7cd117 user: jan.nijtmans tags: trunk
08:26
Update to latest TEA check-in: c9ade9f27a user: jan.nijtmans tags: thread-2-8-branch
2018-03-21
22:52
Merge thread-2-8-branch check-in: 381dbfb4a4 user: jan.nijtmans tags: trunk
22:32
Update to latest tcl.m4 check-in: 26413f6840 user: jan.nijtmans tags: thread-2-8-branch
2018-03-19
17:24
Pulling changes from trunk check-in: 03912025a6 user: seandeelywoods tags: practcl
2018-02-26
22:38
Merge trunk Closed-Leaf check-in: b4950f8596 user: jan.nijtmans tags: novem-support
22:17
Merge thread-2-8-branch check-in: 23a8390cd1 user: jan.nijtmans tags: trunk
21:56
Make Thread run on Tcl 8.7 with -DTCL_NO_DEPRECATED, even if compiled against Tcl 8.6 headers. Clean up some #ifdef-ery, adding more comments. check-in: 1049b1d136 user: jan.nijtmans tags: thread-2-8-branch
20:43
update TEA check-in: f53d61e08f user: jan.nijtmans tags: thread-2-8-branch
14:42
Renumber to 2.9a1. Make it loadable on both Tcl 8.x and 9.0 on 32-bit platforms, provided Thread is compiled with -DTCL_NO_DEPRECATED=1 (experimental) check-in: 65f646f33a user: jan.nijtmans tags: trunk
2018-01-25
20:36
Update to latest nmake build system and TEA. bump version. No longer allow Thread 2.8 to be loaded in Tcl 9.0: It doesn't work any more due to the remove stub entries there. check-in: 690e39eb00 user: jan.nijtmans tags: thread-2-8-branch
2018-01-23
15:35
Make threadWin compile with TCL_NO_DEPRECATED Tcl header files. (then CHAR/VOID e.d. should be provided by <windows.h>) check-in: 10a8ae5c3b user: jan.nijtmans tags: trunk
10:09
merge trunk check-in: 24d28323f6 user: jan.nijtmans tags: novem-support
2018-01-16
17:25
Update to latest TEA. Don't rm -f when installing docs. Use DIST_INSTALL_* macros to make dist. check-in: f187edaf8d user: stu tags: trunk
2017-12-23
10:16
Update to v1.1 for nmake rules check-in: ca58aa4d34 user: apnadkarni tags: trunk
2017-12-22
12:18
Convert win/targets.vc to crlf line-endings (the other *.vc files were OK) check-in: 95bd0e6112 user: jan.nijtmans tags: trunk
2017-12-21
06:41
Added targets.vc and rules-ext.vc to distribution check-in: e26a3558e8 user: apnadkarni tags: trunk, thread-2-8-2
2017-12-14
11:16
re-generate "configure" check-in: de28ea827c user: jan.nijtmans tags: trunk
2017-12-13
10:54
Use nmakehlp -L to locate directories check-in: 4b087d37ca user: apnadkarni tags: trunk
2017-12-11
16:36
Updated copy of Tcl nmake support files check-in: 5c1834dd66 user: apnadkarni tags: trunk
09:08
Fix resource include file macro. Should be RCFILE, not PRJ_RCFILE. check-in: 96987c3cda user: apnadkarni tags: trunk
08:20
Make resource file version and file name definitions fall back to macros defined in TEA if the newer nmake-based macros are not defined. Note the TEA build does not actually use the resource file, but just in case it is added in the future. Updated build instructions in README. check-in: bf72ddc4b9 user: apnadkarni tags: trunk
2017-12-09
13:59
TIP 477: new nmake system. Test suite passes check-in: afeb91825d user: apnadkarni tags: trunk
13:35
Final nmake reform updates from tcl Closed-Leaf check-in: 4df66b97b3 user: apnadkarni tags: vc-reform
2017-12-01
15:21
update to latest TEA. Add "wideInt" as additional 'safe' type for threadSvCmd.c check-in: 813d7e13e9 user: jan.nijtmans tags: trunk
2017-11-23
16:00
merge sebres-fix-persist-storage branches check-in: f2411eb665 user: sebres tags: trunk
2017-11-08
09:17
merge trunk check-in: bcc2008c6a user: jan.nijtmans tags: novem-support
09:17
Update Thread version number to 2.8.2 check-in: 4ee2a339ed user: jan.nijtmans tags: trunk
2017-11-07
10:05
merge trunk check-in: 850ecc6563 user: jan.nijtmans tags: novem-support
09:56
Make "thread" compile after TIP #422 changes. See: TIP #422 check-in: 2abefa7c01 user: jan.nijtmans tags: trunk
2017-10-26
15:13
Purged old comments check-in: 395f97d8f6 user: apnadkarni tags: vc-reform
2017-10-18
14:15
Update to new nmake build system check-in: d2dae1bed2 user: apnadkarni tags: vc-reform
05:47
Create new branch named "vc-reform" check-in: b4615f982a user: apnadkarni tags: vc-reform
2017-10-03
14:50
Make nmakehlp return non-0 exit code if version not found. (taken over from vc-reform branch, good idea!). Remove some win98-specific hacks: win98 is not supported any more. check-in: ba3dbf5244 user: jan.nijtmans tags: trunk
2017-07-19
18:36
[win] allow lmdb (persistent storage) handler, if compiling for windows: ADDLINKOPTS and ADDOPTDEFINES can be specified to provide extra link- and compiler-options, for example: nmake -nologo -f makefile.vc TCLDIR=%TCLDIR% ... ADDOPTDEFINES="-I%LMDBDIR%" ADDLINKOPTS="%LMDBDIR%\Release\lmdb.lib" Closed-Leaf check-in: 31d323157d user: sebres tags: sebres-fix-persist-storage-win
18:26
leave entries in persistent bound storage on exit handler (avoid flushing data by delete array, causes if tcl-application properly exits with call of all exit-handlers); additionally fixes memory leak on arrayPtr->bindAddr by unbind; Closed-Leaf check-in: c00a271dae user: sebres tags: sebres-fix-persist-storage
2017-05-22
13:28
Update to latest TEA version check-in: 5de57fe262 user: jan.nijtmans tags: trunk, thread-2-8-1
2017-05-04
14:52
merge trunk check-in: e3ca7e2500 user: jan.nijtmans tags: novem-support
14:51
Update to latest TEA version check-in: 689f4d8368 user: jan.nijtmans tags: trunk
2016-11-20
01:16
For the thread pool, after adding a job completion to the hash table, be sure to signal the waiter. check-in: 52f62714d9 user: mistachkin tags: trunk
00:31
Move a call to ckfree() in tpool. check-in: 3064c13d57 user: mistachkin tags: trunk
00:25
Move access to the Tpool 'tearDown' field into the locked section. check-in: 9b4663a5d1 user: mistachkin tags: trunk
2016-11-15
11:07
Update version number to 2.8.1, as preparation for next release (whenever that is) check-in: e39816df28 user: jan.nijtmans tags: trunk
10:03
[3fe61dda61] Documentation spelling fixes check-in: 6c80ab4a09 user: gahr tags: trunk
2016-11-14
17:52
[63c86edf71] Check arguments in tpool::post check-in: aff57ffaaa user: gahr tags: trunk
2016-07-15
08:56
Do not use a static array to store handlers names. This solves the problem of an invalid empty initialization list when no handlers are available. check-in: 2321e9578f user: gahr tags: trunk, thread-2-8-0
2016-07-05
11:31
Re-generate "configure" with latest TEA. Many end-of-line spacings removed. check-in: 7de0ea7e11 user: jan.nijtmans tags: trunk