MSI: First go at thread safety for MSI records

Robert Shearman rob at codeweavers.com
Thu Dec 23 06:52:46 CST 2004


Mike McCormack wrote:

> Alexandre Julliard wrote:
>
>> Do you really need a separate critical section for every single MSI
>> object?  That seems a bit overkill to me.
>
>
> What do you suggest?
>

Keep the msiobj_lock/msiobj_unlock functions, but make them use a 
process-wide critical section. It will then be simple to add a per 
object critical section if it is proved that performance is suffering.

Rob



More information about the wine-devel mailing list