At 02:55 PM 10/10/2003 Friday, David Lehmann wrote:
David Grothe wrote:
In all my drivers I use separate qinit structures for read and write queues. It makes sense since one naturally would specify xxx_wput and xxx_rput differently. Just supply a NULL pointer for the close routine on the write-side qinit and you will only get one call to close.

I will put the NULL for close on the write-side. However, I agree with Brian that LiS is wrong in this regard.

I checked the SVR4 documentation and it says that the close routine pointer is ignored in the qinit structure for the write queue. So I have changed LiS accordingly.



BTW, if I had open defined for both sides, would LiS call open twice?

Nope. The doc also says to ignore the "write open" routine pointer as well.


-- Dave



_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to