[ros-dev] Re: [ros-svn] [hbirr] 20793: - We cannot access the OwnerTable without locking the resource.

Hartmut Birr osexpert at googlemail.com
Thu Jan 12 00:55:49 CET 2006


hbirr at svn.reactos.org wrote:
> - We cannot access the OwnerTable without locking the resource.  
> - The shared waiters may wait also on the semaphore. It makes no sense to boost a waiting thread.  
> - The thread header is initialized like KeWaitForSingleObject (?, ?, ?, TRUE, ?). During the boost, 
>   possible the dispatcher lock is released but the thread block (WaitNext) isn't changed.
>
>
>
> Updated files:
> trunk/reactos/ntoskrnl/ex/resource.c
>
> _______________________________________________
> Ros-svn mailing list
> Ros-svn at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-svn
>
>   
Oops, I've copied the wrong commit message. The correct is:

- We cannot access the OnerTable without locking the resource.
- The shared waiters may wait also on the semaphore. It makes no sence
to boost a waiting thread.
- The thread header is initialized like KeWaitForSingleObject (?, ?, ?,
TRUE, ?). During the boost,
  possible the dispatcher lock is released but the thread block
(WaitNext) isn't changed.

- Hartmut



More information about the Ros-dev mailing list