Hmmm. I didn't think of that case when I wrote the code :(
It seems that we need to add code to create a pipe and wait for a server (ps_wait_connect) in server/named_pipe.c, line 349, and some more to connect a new pipe server to waiting clients at line 380.
If somebody wants to do it feel free, otherwise I'll turn out a patch sooner or later...
Mike
Gregory M. Turner wrote:
The simple sequence CreateNamedPipe CreateFile seems to work under Windows, but not under Wine.
nice catch!
This explains some things I've been noticing lately ;) There have been race-conditions in RPC lately, my uncomitted "rpc testcase" patch exposes them. Maybe you've found code (or hardware?) to consistently expose the losing side of the race? Wish I had a dualie for stuff like this ;)
Will take a peek and see if anything jumps out at me (fat chance, I presume, but wth...)