From 2eb19201b3f4be01057c1b958a077b5fb2fce107 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 20 Dec 2007 08:54:51 +0000 Subject: - working on a potential race condition on the new input module interface. See newsgroup posting for details on the issue: http://groups.google.com/group/comp.programming.threads/msg/330b9675f17 a1ad6 I tried some mutex operations but came to the conclusion that this does not really help. So I have now switched to plain thread cancellation, which so far seems to be OK. Need more practical experience with other input modules to make a final decision. Thus I leave all code in and have just disabled the problematic code. --- plugins/immark/immark.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/immark') diff --git a/plugins/immark/immark.c b/plugins/immark/immark.c index b7b816b6..973821ad 100644 --- a/plugins/immark/immark.c +++ b/plugins/immark/immark.c @@ -68,6 +68,7 @@ typedef struct _instanceData { */ BEGINrunInput CODESTARTrunInput + thrdBlockTermination(pThrd); /* this is an endless loop - it is terminated when the thread is * signalled to do so. This, however, is handled by the framework, * right into the sleep below. -- cgit v1.2.3