Browse thread
[Caml-list] Scheduling thread problem kernel 2.6
[
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: | David Brown <caml-list@d...> |
| Subject: | Re: [Caml-list] Scheduling thread problem kernel 2.6 |
On Tue, Apr 13, 2004 at 09:57:35AM +0200, Christophe Raffalli wrote: > > Message posted to comp.os.linux.misc and caml-list. > > I am having a scheduling problem with a Caml program that uses two threads: > - one CPU intensive thread > - one interface thread (using Glut + OpenGL) and often doing nothing What wrappers are you using to call to the interface. Are there any blocking calls in it? You might check the wrappers to these calls to make sure that they call enter_blocking_section, and leave_blocking_section. Otherwise, the entire ocaml runtime will be blocked. Dave ------------------- 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