Gregory M. Turner wrote:
On Monday 17 February 2003 08:26 pm, Dan Kegel wrote:
The simple sequence CreateNamedPipe CreateFile seems to work under Windows, but not under Wine. Does Wine for some reason require a ConnectNamedPipe between the two? ...
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 ;)
No need for a dual processor to magnify this bug! Just apply the attached patch, and I bet you'll get the race to trigger every time you do an installshield install. It shows up as the dialog box "Object not registered".
BTW I'm slowly adding to tests/pipe.c; I need to exercise a few more calls, then it'll be a handy little unit test for anyone fixing up the named pipe support. (Just don't forget to remove the todo_wine in the test, else it won't actually test anything.) - Dan