guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile gnome gdk bindings question...no threads_init, threads_enter a


From: Kevin Ryde
Subject: Re: guile gnome gdk bindings question...no threads_init, threads_enter and threads_exit definitions
Date: Tue, 19 Dec 2006 07:19:41 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Stan Pinte <address@hidden> writes:
>
> http://aruiz.typepad.com/siliconisland/2006/04/threads_on_pygt.html

I suppose a dynamic-wind for the enter/leave would ensure a "leave" if
there was an error in the protected section.

> My problem is that I cannot find anywhere a guile module containing
> these definition.

Don't know about that.

But for myself I decided against actual threads and went for (slightly
complicated) continuation based coroutines, because I wasn't confident
I could make my own code thread-safe.  I suspect there's still the odd
thread-safety matter in guile 1.8 itself too (mostly obscure bits I
think, hopefully).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]