Date: Wed, 24 Mar 1999 17:27:19 GMT
Message-Id: <199903241727.RAA08259@toy.william.bogus>
From: William Chesters <williamc@dai.ed.ac.uk>
To: caml-list@inria.fr
Subject: Re: threads & OCamlTK
In-Reply-To: <19990323160729.18130@pauillac.inria.fr>
<199903221839.NAA20107@saul.cis.upenn.edu>
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