Re: Multiple attempts at opening same pipe for writing fail

2018-06-14 Thread João Eiras
On 13 June 2018 at 17:44, Takashi Yano wrote: > Hi João, > > Is this related to https://cygwin.com/ml/cygwin/2017-03/msg00188.html ? > Hi. That seems quite likely. In my test case, I do open+close+open and the second open fails with errno.ENXIO. If I skip the close and do open+open I get the s

Re: Multiple attempts at opening same pipe for writing fail

2018-06-13 Thread Takashi Yano
Hi João, On Wed, 6 Jun 2018 18:23:08 +0200 João Eiras wrote: > Howdy. > > I've prepared a testcase for a bug or inconsistency with linux that is > affecting one of my projects. > > Basically I have a background process that keeps some state always > running with a pipe open for reading requests.

Multiple attempts at opening same pipe for writing fail

2018-06-06 Thread João Eiras
Howdy. I've prepared a testcase for a bug or inconsistency with linux that is affecting one of my projects. Basically I have a background process that keeps some state always running with a pipe open for reading requests. Foreground processes that try to open that pipe for writting (to send a re