Re: threads & OCamlTK

From: William Chesters (
Date: Wed Mar 24 1999 - 18:27:19 MET

Date: Wed, 24 Mar 1999 17:27:19 GMT
Message-Id: <199903241727.RAA08259@toy.william.bogus>
From: William Chesters <>
Subject: Re: threads & OCamlTK
In-Reply-To: <>

Jerome Vouillon writes:
> There is a mutex that prevents two Caml threads from running
> simultaneously. I think what happens is that the Tk main loop
> blocks while still holding the mutex.
> You should try to release the mutex before entering this loop, and
> acquire it again before each call to a Caml function. For instance,
> in file cltkEvents.c:
> ...

Nice idea, but it it didn't work for me, so there must be something
else wrong ...

This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:21 MET