Browse thread
[Caml-list] suggestion for record pattern matching and construction
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christophe Raffalli <christophe.raffalli@u...> |
| Subject: | Re: [Caml-list] FreeBSD + lablglut + thread: bug or not bug |
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 ---------------------------------------------