[cl-gtk2-devel] Suggestion: Testing if gthread is initialized.

Kalyanov Dmitry kalyanov.dmitry at gmail.com
Thu Sep 10 04:44:47 UTC 2009


On Friday 14 August 2009 19:17:54 Seth wrote:
> If another library uses the same dlls in the same session and they both try
> to initialize threads, i get
> an error GThread system may only be initialized once.
> I'm not using a threaded implementation, so maybe this is unique to such.
> Using slime, sbcl then stops working and i have to restart the session.
>
> Something like using
>
> g_thread_get_initialized() should work
> (defcfun "g_thread_get_initialized" :gboolean :void)   o
>

Sorry for the long delay before answering. Yes, this is a good idea, I'll add 
this check.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://mailman.common-lisp.net/pipermail/cl-gtk2-devel/attachments/20090910/7f79b3b6/attachment.sig>


More information about the cl-gtk2-devel mailing list