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

Seth seth at tewebs.com
Fri Aug 14 15:17:54 UTC 2009


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



---- Msg sent via WebMail




More information about the cl-gtk2-devel mailing list