test case demonstrating PeekMessage give up timeslices

Alexandre Julliard julliard at winehq.org
Tue Aug 2 13:52:27 CDT 2005


Felix Nawothnig <felix.nawothnig at t-online.de> writes:

> I meant that using shm generally would lower the cost of a server
> request and doing that extra yield would no longer be necessary
> (although we'd still have the other yield due to the request itself
> unless the queue is put into shm).

If you mean passing the parameters through shared memory instead of a
pipe, then no, it doesn't really make a difference. The cost is not
the few bytes we need to copy across, it's the context switches.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list