Date: Wed, 17 Mar 1999 15:57:30 GMT
From: William Chesters <email@example.com>
To: Don Syme <firstname.lastname@example.org>
Subject: RE: threads & OCamlTK
Don Syme writes:
> William Chesters writes:
> > > And, on a vaguely related topic, is it possible to use threads with
> > > programs that also use OCamlTK? I know Tk is not threadsafe, but if
> > > only one thread is calling Tk functions, then perhaps it's still OK?
> > No, `Tk.mainLoop' blocks the whole process.
> Hmm... it seems not to, under Windows NT/bytecode. Maybe this is because
> Tk.mainLoop gets linked against a non-blocking library of code under
Aha, it works for me too under Linux with native code/pthreads. I
still have the test program from months ago which supposedly
demonstrated the opposite ... and it works too! Oh well :-).
Probably wrong link options or something.
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:21 MET