guile-user
[Top][All Lists]
Advanced

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

Re: threads, muxes, gc, assert violation


From: Marco Maggi
Subject: Re: threads, muxes, gc, assert violation
Date: Wed, 14 Mar 2007 06:27:54 +0100

"address@hidden" wrote:
> Hmm.  I could be way off base here, but what about
> protecting s_mutexes with a scm_permanent_object() ?

I am:

 for (int i=0; i<nmux; ++i)
  s_mutexes[i] = scm_permanent_object(scm_make_mutex());
                 ^^^^^^^^^^^^^^^^^^^^
--
Marco Maggi

"They say jump!, you say how high?"
Rage Against the Machine - "Bullet in the Head"





reply via email to

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