Re: Opening of blocking FIFOs not reliable?

From: Alan Cox
Date: Sat Aug 13 2005 - 19:23:09 EST


On Gwe, 2005-08-12 at 20:18 -0700, Teemu Koponen wrote:
> the reader gets scheduled. Shouldn't the writer's open() block until
> the reader's open() is done?

Not neccessarily - but you are correct that it should lead to the
readers open completing and then EOFs being returned. Do you have a test
case for the problem?

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/