Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Why must types be always defined at the top level?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-06-25 (14:37)
From: Christophe Raffalli <Christophe.Raffalli@u...>
Subject: [Caml-list] Thread and kernel 2.6 pb still there in CVS

I tried to submit a change in vouillon's entry in the bug tracking 
system (classed as not a bug because can not reproduce), but as I am not 
sure it worked, So I also post this here

In the latest CVS of ocaml there is still the periodic call Thread.yield 
(through a sigalarm) in

This implies that a threaded OCaml program ON A LINUX KERNEL 2.6 (at 
least 2.6.3 on Mandrake 10, but probaby all 2.6) gets very little CPU 
when another process is running (the usual figure is 10% CPU for the 
threaded OCaml program against 90% for another program)

Could you do something before the next release, because GlSurf is really 
not working on my linux boxes without this change.


By the way, why does OCaml needs that  periodic call Thread.yield ?

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
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature