guile-devel
[Top][All Lists]
Advanced

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

Re: deadlock in 1.7.91 ?


From: Ken Raeburn
Subject: Re: deadlock in 1.7.91 ?
Date: Mon, 6 Mar 2006 14:57:37 -0500

On Mar 6, 2006, at 4:27, Stanislav Ievlev wrote:
On Sun, Feb 26, 2006 at 12:58:46PM +0300, Stanislav Ievlev wrote:
Hi!

What about this problem?
Problem was in hidden select in g_main_loop (thanks to myself)

We really need enter_guile(), leave_guile() for such cases.
with-guile/without-guile will not work.

Are you planning to fix this problem?

But scm_leave_guile can result in garbage collection bugs in multithreaded programs. Look in threads.c for a copy of the email message I wrote on the problem. (There may be similar issues with scm_enter_guile, I haven't thought as hard about it.) I doubt this can be fixed with that API, but if you spot something I missed, I'd be glad to hear about it.

The list archives seem to be missing some messages at the end of February. Why will with/without-guile not work for you? In the message dated 20 Feb in the archive, can you not call g_main_loop_run via scm_without_guile?

Ken




reply via email to

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