Tcl package Thread source code

Timeline
Login

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

50 descendants and 50 ancestors of c00a271daea56194f0e902c46f580f98b729f8f0

2018-11-24
09:08
Merge 2.8 branch check-in: 5fef77d225 user: jan.nijtmans tags: trunk
09:06
Don't use STRLEN_TYPE et al any more, it's superseded by TIP #494. Also eliminate a ton of unnecessary type casts check-in: e59ef6f0be user: jan.nijtmans tags: novem
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:39
Merge trunk check-in: 5952623bc7 user: jan.nijtmans tags: novem
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 trunk check-in: 93cca4133e user: jan.nijtmans tags: novem
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:44
Merge trunk. Remove badoctal test, which no longer makes sense with Tcl 9.0 check-in: 8ee9e53308 user: jan.nijtmans tags: novem
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:59
Merge trunk check-in: 7b198e45f6 user: jan.nijtmans tags: novem
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:16
merge trunk check-in: 6228e18a97 user: jan.nijtmans tags: novem
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
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-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: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
2016-06-28
12:42
Now really close older fork check-in: 3c606ccbc8 user: jan.nijtmans tags: trunk
12:18
Closing an old fork Closed-Leaf check-in: 832a5fc594 user: seandeelywoods tags: trunk-fork
2016-06-03
16:04
[b35544d2c8] Bump version in docs to 2.8 check-in: 58dcd71724 user: gahr tags: trunk
13:19
Add parenthesis around bit-shift macros. [Tkt 957dbe2] in Tcl repository. check-in: b52389dd24 user: gahr tags: trunk
2016-06-01
11:18
2.7.3 -> 2.8.0 check-in: 2e0822fb28 user: gahr tags: trunk
08:11
[72b8ee4c76] Implement [tsv::handlers] to make the list of compiled persistent storage handlers available at script level. Adjust the test suite to leverage on this to provide constraints. Update documentation and ChangeLog. check-in: 1c427cddf3 user: gahr tags: trunk
08:09
Hide misleading error information from the test output check-in: 7dc4979754 user: gahr tags: trunk
2016-05-31
16:04
Implement [tsv::handlers] to make the list of compiled persistent storage handlers available at script level. Adjust the test suite to leverage on this to provide constraints. Update documentation and ChangeLog. Closed-Leaf check-in: 134e1ff228 user: gahr tags: bug-72b8ee4c76
15:23
Fix typo in handling of --with-lmdb check-in: ceec8c2945 user: gahr tags: trunk
10:53
[3407860fff] Accept a status argument in [thread::exit] check-in: 0839286864 user: gahr tags: trunk
2016-05-19
14:03
[3407860fff] Accept a status argument in [thread::exit] Closed-Leaf check-in: 679580a1b4 user: gahr tags: bug-3407860fff
2016-05-18
18:54
Fix indentation check-in: 673db50dc4 user: gahr tags: trunk
18:53
[84be1b5a73] Add test case, update ChangeLog check-in: 95bfc24136 user: gahr tags: trunk
18:40
Update ChangeLog check-in: 99cd2fdc80 user: gahr tags: trunk
18:37
[3532972fff] Fix race condition in thread finalization routine check-in: 1489249bd4 user: gahr tags: trunk
2016-05-17
11:40
Regenerate documentation, update ChangeLog check-in: 4cc3b30567 user: gahr tags: trunk
11:40
Remove "id" arg from [thread::broadcast]'s man page check-in: 4d58f9182a user: gahr tags: trunk
10:18
Update ChangeLog check-in: 34bbfeac88 user: gahr tags: trunk
10:11
[84be1b5a73] Fix segfault with -async and result trace check-in: f4c95731c0 user: gahr tags: trunk
2016-05-13
12:29
Update ChangeLog check-in: 0c71f64af3 user: gahr tags: trunk
12:28
Use spaces for indentation everywhere check-in: 89070880c6 user: gahr tags: trunk
12:04
[9378bb6795] Add support for LMDB persistent storage check-in: 26b09c6cc1 user: gahr tags: trunk
11:57
Add a persistent storage stress-testing script and its sample data Closed-Leaf check-in: 258445d53d user: gahr tags: lmdb
2016-04-20
11:55
Initial LMDB persistent storage support.

This commit adds support for using LMDB as a persistent storage. The implementation resides in generic/psLmdb.(c|h). Autoconf scripts have been updated to accept the new --with-lmdb argument. In doing this, I will also add tsv-related tests to the (previously empty) tsv.test file. check-in: 3e69632acd user: gahr tags: lmdb

10:00
[a135697d8c] Avoid double query to persistent storage in tsv::array bind check-in: 7a3fff7ade user: gahr tags: trunk
09:13
[41922d3bb7] Regenerate documentation check-in: 9007cc37cd user: gahr tags: trunk
08:54
[be135da5f9] Document side-effect of [tsv::array unbind] check-in: cce2fcc4af user: gahr tags: trunk
08:51
[f8ff429a39] Correctly handle --without-gdbm configure flag check-in: 74e96b07de user: gahr tags: trunk
2016-01-19
22:53
2.7.2 -> 2.7.3 check-in: b76b97e890 user: jan.nijtmans tags: trunk, thread-2-7-3
22:45
Fix [c9d81a5d49]: Patch for 'discards qualifiers from pointer target type' compiler warning check-in: 72a9d09e50 user: jan.nijtmans tags: trunk
2015-11-16
10:54
Fix 34eb6911af, taken over from SQLite: Fix uses of ctype functions (ex: isspace()) on signed characters in test programs and in some obscure extensions. No changes to the core. check-in: 31906f1ab5 user: jan.nijtmans tags: trunk
2015-10-15
22:27
Updating to the latest shed check-in: 343442494c user: seandeelywoods tags: trunk-fork
2015-10-06
10:32
Re-ran autoconf check-in: 3a9b1c608e user: seandeelywoods tags: trunk-fork
2015-09-30
11:32
Fix [a57b6c3fd4]: -eventmark + thread::send -async == deadlock check-in: 76b05d44a0 user: jan.nijtmans tags: trunk
2015-09-26
02:54
Update SHED check-in: a45a4fd097 user: seandeelywoods tags: trunk-fork
02:44
Added a SHED definition check-in: 70528a315b user: seandeelywoods tags: trunk-fork
2015-07-02
14:00
TEA update. Fix crlf convention of win/*.vc files check-in: 8884d9b9df user: jan.nijtmans tags: trunk
2015-06-08
18:03
Fix Thread breakage when compiled and linked for static. Avoid usage of the stubs table for that case. check-in: 01408dcfaf user: andreask tags: trunk
2015-06-03
21:47
Bump the version number in the code to match configure(.in) check-in: ca155c040e user: andreask tags: trunk
2015-05-08
14:21
TEA update Closed-Leaf check-in: f4a8039bf0 user: dgp tags: bug-a57b6c3fd4