www.delorie.com/archives/browse.cgi | search |
> Date: Thu, 8 Nov 2001 12:09:56 -0500 > From: Christopher Faylor <cgf AT redhat DOT com> > > The point of my addition of a mutex to peek_pipe was to prevent occurrences > of PeekNamedPipe blocking, actually. It can block in pathological situations > when another thread/process is doing a blocking read. Ah, so the MSDN documentation is wrong. Imagine my surprise :-). Is it actually documented somewhere else, where I didn't look, that PeekNamedPipe can block, or did you just have to figure this out by hard experience? > If you are still seeing hangs in the most recent sources, then there is > still some kind of race with the guard mutex in peek_pipe. That is > where you will need to investigate. OK, I'll update my sources and see if I can get it to happen again. Thanks, jik
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |