Implement StdMarshal::ReleaseMarshalData

Jeroen Janssen japj at xs4all.nl
Fri Jul 23 01:29:01 CDT 2004


Mike Hearn wrote:
> Mike Hearn <mh at codeweavers.com>
> Rob Shearman <rob at codeweavers.com>
> Implement StdMarshal::ReleaseMarshalData

> +  res = IRpcStubBuffer_Release(stub);

I'm not sure but, is there a hypothical race condition here when a
thread switch takes place and someone tries to reuse the stub while
valid is not set to TRUE yet (but the stub has already been released)?

> +  stubs[i].valid = FALSE;
---
Jeroen Janssen





More information about the wine-devel mailing list