Michael,

This is a documented LiS bug.

See BUGS under:

 http://www.openss7.org/man/man2html?getpmsg

"LiS[1] does not return [EIO] when getpmsg() is called on a closing stream."

also under

 http://www.openss7.org/man/man2html?putpmsg

"LiS[1] does not return [EIO] when putpmsg() is called on a closing stream."

and getmsg and putmsg.  Also there are number of closing bugs for ioctl in

 http://www.openss7.org/man/man2html?streamio

All of these bugs are fixed in Linux Fast-STREAMS.

--brian

On Wed, 01 Oct 2003, Michael Shimony wrote:

> LiS version 2.16.13
> 
> When running a program with two threads, one thread is blocked on a call 
> to getmsg, and the other thread closes the file descriptor that getmsg 
> is reading.  I would think that this should cause getmsg to return, but 
> instead it just hangs.  Has anyone else seen this?  Thanks.
> 
> Mike
> 
> -- 
> Michael Shimony
> Senior Software Engineer
> Ulticom, Inc., 1020 Briggs Rd., Mt. Laurel, NJ 08054
> 856-787-2747
> http://users.ulticom.com/~shimony
> 
> 
> 
> _______________________________________________
> Linux-streams mailing list
> [EMAIL PROTECTED]
> http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

-- 
Brian F. G. Bidulock    � The reasonable man adapts himself to the �
[EMAIL PROTECTED]    � world; the unreasonable one persists in  �
http://www.openss7.org/ � trying  to adapt the  world  to himself. �
                        � Therefore  all  progress  depends on the �
                        � unreasonable man. -- George Bernard Shaw �

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

Reply via email to