Browse thread
[Caml-list] Why must types be always defined at the top level?
[
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: | Marco Maggesi <maggesi@m...> |
| Subject: | [Caml-list] Re: Thread and kernel 2.6 pb still there in CVS |
On 2004-06-25, Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr> wrote: > This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --------------enigAA0A01B71AF5B0A0E7B1B37F > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 8bit > > > 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 thread_posix.ml > > 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 ? Ah, so this should be also the answer to this bug in Coq http://coq.inria.fr/bin/coq-bugs/open?id=729 -- M ------------------- 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