I've noticed a problem, which I think might be a bug.  It causes some 
grief for me with the Boomer project.

Specifically, when a stream is opened as nonblocking (FNDELAY, 
O_NONBLOCK, etc.), I find that I no longer get M_READ notifications, 
even when I've asked for them using M_SETOPTS and SO_MREADON.

This causes problems, because I really don't want to start an audio 
engine recording until the user application calls read(2).  However, 
without M_READ notification, I have no way to detect the point at which 
the app calls read(2).

Is this behavior a bug?  I'm inclined to believe so (after all nothing 
in the documentation that I've seen suggests that this special semantic 
might exist), but I'd like to know what others think.

    -- Garrett

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to