Delivered-To: garrigue at math.nagoya-u.ac.jp Delivered-To: lablgtk at yquem.inria.fr Date: Mon, 12 Oct 2009 20:59:55 +0900 (JST) Message-Id: <20091012.205955.85300175.garrigue at math.nagoya-u.ac.jp> To: camaradetux at gmail.com Subject: Re: [Lablgtk] [ANN] ocaml-gir 0.9 alpha - binding generator for glib2-based libs From: Jacques Garrigue In-Reply-To: <666572260910120251r5ac76f62lda0ac557005157e6 at mail.gmail.com> References: <666572260910040501n79651d01r33566967299a4572 at mail.gmail.com> <666572260910120251r5ac76f62lda0ac557005157e6@mail.gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lablgtk at yquem.inria.fr From: Adrien > There is one problem for the webkit-gtk bindings however: webkit-gtk > now requires that "the thread system is initialized" which is done > through a call to g_init_thread() which isn't currently available in > lablgtk2 (I've seen some commented code reference to it however). > Would it be possible that this function is added in future releases? I certainly see no problem in adding it to lablgtk. The reason there is no such binding is only that lablgtk (even in its threaded version) doesn't use glib threads (relying on ocaml threads for synchronization is simpler). But I don't think glib threads would break anything. In the midtime, if you are building your own bindings, there should be no problem in adding it on your side. This is just some C code, which doesn't really need to be bound on the ML side. Jacques _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk