A Handle Cache?

Vitaliy Margolen wine-devel at kievinfo.com
Wed Jun 9 20:02:08 CDT 2010


On 06/09/2010 04:54 PM, Max TenEyck Woodbury wrote:
> While Reading the developer's guide, I noticed that it said that
> translating windows' handles was always done by the server. I may have
> misunderstood this. Since interaction between the client and server
> requires at least two context switches and context switches are fairly
> heavy duty operations, would it make sense to cache handle lookups on
> the client?

You haven't read all the manual it seems. Wine already does cache file
descriptors - the only piece of information related to handles that clients
can cache. Everything else is inter-process and can't be cached / handled in
client.

Vitaliy.



More information about the wine-devel mailing list