From 1843a0add00186eee129b0b0a2ee605866acbb61 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 16 Jan 2014 14:17:23 +0100 Subject: 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 --- CHANGES | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 0a6889d..f450700 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,16 @@ CHANGES: +CHANGE 90: BGe 16-Jan-14 + * version 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 + CHANGE 89: BGe 09-Jan-14 * version 3.7.7 * fix crash when calling linda:count() on unknown keys -- cgit v1.2.3-55-g6feb