gerard patel wrote:
> 
> This patch locks the access to the virtual views linked list.
> I'm not quite sure of the best way to initialize the critical section for this file;
> I checked that regapi still works,so hopefully winelib should be all right.
your patch solves the thread-unsafeness when two threads handle, at the same time,
two different maps
but, it doesn't work (still unsafe) when same map is manipulated
basically, any manipulation of a FILE_VIEW shall be done with the cs locked...

I agree that such a program would be poorly written, but the API shall be
guarded against this

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle

Reply via email to