[ros-dev] Race Condition?

Alex Ionescu ionucu at videotron.ca
Sat Nov 6 12:50:47 CET 2004


Eric Kohl wrote:

>"Hartmut Birr" <hartmut.birr at gmx.de> wrote:
>
>  
>
>>I would like if you can commit this changes or can send me a diff. The
>>    
>>
>race
>  
>
>>condition between the two locks is one of the major problems on smp
>>machines. An other problem is the registry. Some registry functions are
>>    
>>
>not
>  
>
>>thread safe, which results in wrong values and very often in a crash.
>>    
>>
>
>Which registry functions are not thread-safe?
>
>
>Regards,
>Eric
>
>_______________________________________________
>Ros-dev mailing list
>Ros-dev at reactos.com
>http://reactos.com:8080/mailman/listinfo/ros-dev
>
>  
>
Hi Eric,

AFAIK none of them are thread-safe...what I've seen on windows is that a 
caller of a registry function usually uses a special registry lock 
before accessing it. The functions themselves are not thread-safe.

Best regards,
Alex Ionescu


More information about the Ros-dev mailing list