From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA02393; Thu, 11 Sep 2003 22:13:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA09410 for ; Thu, 11 Sep 2003 22:13:00 +0200 (MET DST) Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8BKCxf15808 for ; Thu, 11 Sep 2003 22:12:59 +0200 (MET DST) Received: from univ-savoie.fr (bpp3.local.univ-savoie.fr [192.168.4.22]) by post.bourget.univ-savoie.fr (8.12.3/jtpda-5.4) with ESMTP id h8BKDeno012594 ; Thu, 11 Sep 2003 22:13:40 +0200 Message-ID: <3F60D66A.2010204@univ-savoie.fr> Date: Thu, 11 Sep 2003 22:09:14 +0200 From: Christophe Raffalli User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ijtrotts@ucdavis.edu CC: caml-list@inria.fr Subject: Re: [Caml-list] FreeBSD + lablglut + thread: bug or not bug References: <20030910185255.GF25815@ecooper.com> <3F607D6F.4010405@univ-savoie.fr> <20030911173321.GA4359@beech> In-Reply-To: <20030911173321.GA4359@beech> X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig28E67B40BB2FAEC074047AC4" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; raffalli:01 raffalli:01 univ-savoie:01 caml-list:01 lablglut:01 bug:01 bug:01 openpgp:01 2440:01 3156:01 glsurf:01 threads:01 mainloop:01 callback:01 callback:01 X-Attachments: type="application/pgp-signature" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig28E67B40BB2FAEC074047AC4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit By the way, I think vmthread are no use for a program like Glsurf: They are two threads and once the openGL thread has called Glut.mainLoop it will only call Caml code from callback from C ... and is seems that this prevent the premption of the thread and the computing thread will never have a chance to run, even if I call Thread.yield in the Idle callback function (at least this is what I observed) Am I right ? This limits a lot the use of vmthread : no native code compilation, requirement for all threads to run "toplevel" Caml code (no Caml code from C) often and may be other limitation that I don't know of. That's a lot :-( And just a remark, like other people, I feel my machine is much faster (not for pure computation) under FreeBSD than Linux (mdk 9.0). Starting KDE or compiling ocaml (especially the ./configure script), seemed much faster. I should do some timing. -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature --------------------------------------------- --------------enig28E67B40BB2FAEC074047AC4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/YNZqSQDyWB/+xBwRAsNQAKCgtDWMQ0q5q2GI5WfheMKZmykwhACgmSxl /ToC7Omma2vq0fD3pKG2uiY= =5khB -----END PGP SIGNATURE----- --------------enig28E67B40BB2FAEC074047AC4-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners