On 6/2/06, Alexandre Julliard julliard@winehq.org wrote:
How about this: we combine the original sychronous approach with the small preallocated cache as a fallback for when no threads are waiting?
You need to have a thread waiting one way or another, since you need to perform operations on the client side that require a thread context. No, it's not an easy problem to solve, that's why it has not been done yet...
Are you willing to accept a patch which makes some common use cases work well, but does not address others? If so, we can continue. Otherwise we'll have to wash our hands and walk away screaming. - Dan