Hartmut Birr wrote:
Hi,
I can not reproduce your problem. I'm using a nearly clean cvs tree from yesterday. I've add some little modifications that I can compile ros with gcc-3.4.1 and the latest w32api. I use also modified inf files for the installation. My test system is a scsi only mp machine. I assume that you spoke about the up system. I'm using cmd.exe as login shell. I can compile ros on ros. I think that the changes to the hal and the irq handling are not the problem. I've add some changes for the sequence how threads acquire the PiThreadLock and the DispatcherDatabaseLock.
I belive there is only one lock (the dispatcher lock) on Windows (<= XP). On W2K3 there is one other lock in KPRCB because the dispatching structures were moved there and they're per-processor now. The per-processor idle thread then moves threads from other processor's queue AFAIK. Please correct me if I'm wrong.
Filip
P.S. The thread dispatching that is currently in Ps should be moved to Ke.