diff options
author | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-01-16 14:17:23 +0100 |
---|---|---|
committer | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-01-16 14:17:23 +0100 |
commit | 1843a0add00186eee129b0b0a2ee605866acbb61 (patch) | |
tree | 5de8d13e1b8495836f898c17790adf571f05365c /CHANGES | |
parent | baaea3cebf9d787f76557b68f18a012dc6adbbbc (diff) | |
download | lanes-1843a0add00186eee129b0b0a2ee605866acbb61.tar.gz lanes-1843a0add00186eee129b0b0a2ee605866acbb61.tar.bz2 lanes-1843a0add00186eee129b0b0a2ee605866acbb61.zip |
Cancellation improvements and some fixes
* bumped version to 3.7.8
* lane:cancel() now accepts a boolean second argument when soft
cancelling (negative timeout) to wake the thread if necessary
* if a blocked linda send() or receive() call is interrupted by a
cancellation request, it returns CANCEL_ERROR so that this case can be
differentiated from a simple timeout
* fixed WIN32 THREAD_CREATE() wrong _beginthreadex() error detection
* fatal WIN32 threading errors retrieve and output the error description
string with FormatMessage()
* fixed missing lanes.set_singlethreaded
* fixed perftest.lua
* added test/cancel.lua
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ | |||
1 | CHANGES: | 1 | CHANGES: |
2 | 2 | ||
3 | CHANGE 90: BGe 16-Jan-14 | ||
4 | * version 3.7.8 | ||
5 | * lane:cancel() now accepts a boolean second argument when soft cancelling (negative timeout) to wake the thread if necessary | ||
6 | * if a blocked linda send() or receive() call is interrupted by a cancellation request, | ||
7 | it returns CANCEL_ERROR so that this case can be differentiated from a simple timeout | ||
8 | * fixed WIN32 THREAD_CREATE() wrong _beginthreadex() error detection | ||
9 | * fatal WIN32 threading errors retrieve and output the error description string with FormatMessage() | ||
10 | * fixed missing lanes.set_singlethreaded | ||
11 | * fixed perftest.lua | ||
12 | * added test/cancel.lua | ||
13 | |||
3 | CHANGE 89: BGe 09-Jan-14 | 14 | CHANGE 89: BGe 09-Jan-14 |
4 | * version 3.7.7 | 15 | * version 3.7.7 |
5 | * fix crash when calling linda:count() on unknown keys | 16 | * fix crash when calling linda:count() on unknown keys |