Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:x-enigmail-version:openpgp :content-type:content-transfer-encoding; bh=kSCeMYrvZc2Gv6pHi9E2SJfft/xEflbkWTv2vyljojc=; b=uY1TAzNxpY5YHw0yyxbgRmiQ5BcEt3q6eVZkb1TTt6siE6d+8MPbMwnecv3hV2yxxK ZAzFVRQ63hYdo9vxN1aBn/Y6c4iRsR8HMnUD1IdYsDpdwXkq4TAP1dMg/AwijibbZrsM WbGgnffsrgohplBJC0wYl3Ah/VY3hIAd3i/k4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=xuUiU4vW8I22GdbrPxrgt4EVrN7YZBXWE6hUPQ52mAmC05WNdvqjSUE4+4dXD6Mu5w JXb9uy/Yn6woGrv7NPS5NSKUscunrqZprUHA6rwZx3wELOrYuUosU2DC1FYaWxzOH0TP dKq9LjOqNzHO+ztaEsk6W9f/TFvpW+nybIA9c= Message-ID: <48CD7229.6000503 at gmail.com> Date: Sun, 14 Sep 2008 22:20:57 +0200 From: Matthieu Dubuget MIME-Version: 1.0 To: lablgtk at yquem.inria.fr OpenPGP: id=F60AB8F5 Content-Transfer-Encoding: 7bit Subject: [Lablgtk] GlGtk + Thread? Reply-To: matthieu.dubuget at gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 688 Hello, I'm using lablgtk installed from godi on a linux box. I tried to modify the "simple.ml" example (GL sub-directory) in order to have thread enabled: - I replaced Main.main by GtkThread.main - and ran the example with: lablgtk2 -thread gtkThread.cmo simple.ml Unfortunately, this did not work. No idea why. There is the message (from the C part?): GlGtk-WARNING **: could not make current Any idea? My initial goal was to try to make a gtk application, with a separated thread re-drawing the GlGtk area. Thanks in advance Matt _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk