On 6/2/06, Alexandre Julliard julliard@winehq.org wrote:
OK, new plan: how about we preallocate a memory area just big enough for the common case, with the structures all set up, and let the server hand it out to the first process to ask for it? I don't think it needs to be very big.
Well, that may work for your specific problem, but it's clearly not an acceptable general solution.
How about this: we combine the original sychronous approach with the small preallocated cache as a fallback for when no threads are waiting?
If that's not good enough, what (short of a Linux kernel module) might do? - Dan