XPE thread priority

kastouste -  
 jean guy -
Bonjour,

Ce message provient d'un post que g émis sur un forum US. Je ne l'ai pas traduit, je vous remercie de ne pas m'en tenir rigueur. Merci.

I'm doing a XPe hold by a compact flash (2 partitions (C: protected by EWF and D: protected by FWF). My binary programm runs on the first partition and its configuration files (only used at starting) are hold on D:.

My programm is composed of 2 threads (main which priority is NORMAL and another one which priority is IDLE). The main initializes a timer which updates screen every 200ms (NORMAL priority) and starts the thread which does some computations (IDLE priority).

The problem is that the screen is just updated at the end of the computation whereas the updating priority is higher than the computation thread.

My programm is working fine on XP pro, NTe (i.e. periodic screen update while computation). I tried XPe on a hard disk and the problem is still alive.

So the problem comes from XPe. It seems like all threads have the same priority. I did ::setThreadPriority() then ::getThreadPriority() and the result is OK. So I don't understand.

Many thanks for your help.
A voir également:

2 réponses

kastouste
 
Essaie Standard PC.
0
jean guy
 
Ta partition est elle protegee?
0