Re: opening fifo locks process in D state

2018-09-20 Thread michal . lyszczek
On 2018-09-20 09:13:42, Alexandre Ratchov wrote: > On Wed, Sep 19, 2018 at 11:32:40PM +0200, michal.lyszc...@bofc.pl wrote: > > Hello, > > > > I've stumbled upon a weird problem. Long story short, I try to open > > fifo two times, once O_WRONLY and once O_RDONLY, both in separate > > threads - but

Re: opening fifo locks process in D state

2018-09-20 Thread Alexandre Ratchov
On Wed, Sep 19, 2018 at 11:32:40PM +0200, michal.lyszc...@bofc.pl wrote: > Hello, > > I've stumbled upon a weird problem. Long story short, I try to open > fifo two times, once O_WRONLY and once O_RDONLY, both in separate > threads - but on process. Unfortunately both threads are locked in >

opening fifo locks process in D state

2018-09-19 Thread michal . lyszczek
Hello, I've stumbled upon a weird problem. Long story short, I try to open fifo two times, once O_WRONLY and once O_RDONLY, both in separate threads - but on process. Unfortunately both threads are locked in open() functions. I prepared very small program that reproduces this problem for me,