[advapi32] Create a standard Wine list for the service handles
Paul Vriens
paul.vriens.wine at gmail.com
Tue Jul 3 05:50:28 CDT 2007
Robert Shearman wrote:
> Paul Vriens wrote:
>> Hi,
>>
>> I've attached a possible solution for checking the validity of the
>> service
>> handle before using it.
>>
>> Can somebody please comment on this? Do I need to protect the list with a
>> CriticalSection?
>
> Yes.
>
>> Is this overkill?
>
> Yes.
>
> This should eventually be done via RPC, which has its own separate
> mechanism for making sure handles are valid.
>
Ok, so until we have that mechanism the attached should work?
Btw, are there many places in the code where we should use the RPC approach?
Cheers,
Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: advapi32_service.c.4.diff
Type: text/x-patch
Size: 3173 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070703/f76854be/advapi32_service.c.4.bin
More information about the wine-devel
mailing list