Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Fwd: Re: [Caml-list] Scheduling thread problem kernel 2.6]
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <Christophe.Raffalli@u...>
Subject: Re: [Fwd: Re: [Caml-list] Scheduling thread problem kernel 2.6]
Christophe Raffalli wrote:
> 
> 
> Here is the final picture:
> 
> I invistigated the following modifications:
> 
> A) let preempt = () instead of Thread.yield () in thread_posix.ml (modif
> de OCaml)
> 
> B) adding proper enter/leaving_blocking_section in glut (file wrap_glut.c)
> 
> C) using a timer instead of an idle function for the interactive thread
> (I need to redraw the surface when it is moving and I do it event when
> it is not moving ;-).
> 

In fact, I did not test GlSurf competing with another CPU intensive 
Thread. In this case, on a kernel 2.6, it is necessary to do 
modification A for GlSurf to get some CPU.

What it the rôle of the tick_thread with posix_thread ?

-- 
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
---------------------------------------------