Sender: lebotlan at beaune.inria.fr Message-ID: <3CD7DCD0.C666C149 at beaune.inria.fr> Date: Tue, 07 May 2002 15:55:28 +0200 From: Didier Le Botlan Organization: INRIA (Projet CRISTAL) MIME-Version: 1.0 To: Jacques Garrigue Cc: lablgtk at kaba.or.jp Subject: Re: Build and thread problem. References: <3CC961AF.2076EFF2 at beaune.inria.fr> <20020427000319V.garrigue@kurims.kyoto-u.ac.jp> <3CD2B6B1.5F548013@beaune.inria.fr> <20020507185832T.garrigue@kurims.kyoto-u.ac.jp> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Jacques Garrigue a écrit : > All this looks pretty strange. > Are you sure you are using GtkThread.main? (Not GMain.main!) > And never creating another main loop? All right ! I did not understood that I had to use GtkThread.main, I thought this was always done automatically. Now it works perfectly, both in bytecode and in native version. I notice that, when using threads, it is necessary to add gtkThread.cmo to the list of objects. Did I miss the place where all this is explained ?