version 1.1, 1993/03/21 09:45:37 |
version 1.2, 1993/05/18 18:19:36 |
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
* |
* |
* @(#)uipc_socket.c 7.28 (Berkeley) 5/4/91 |
* from: @(#)uipc_socket.c 7.28 (Berkeley) 5/4/91 |
|
* $Id$ |
*/ |
*/ |
|
|
#include "param.h" |
#include "param.h" |
|
|
#include "mbuf.h" |
#include "mbuf.h" |
#include "domain.h" |
#include "domain.h" |
#include "kernel.h" |
#include "kernel.h" |
|
#include "select.h" |
#include "protosw.h" |
#include "protosw.h" |
#include "socket.h" |
#include "socket.h" |
#include "socketvar.h" |
#include "socketvar.h" |
Line 983 sohasoutofband(so) |
|
Line 985 sohasoutofband(so) |
|
gsignal(-so->so_pgid, SIGURG); |
gsignal(-so->so_pgid, SIGURG); |
else if (so->so_pgid > 0 && (p = pfind(so->so_pgid)) != 0) |
else if (so->so_pgid > 0 && (p = pfind(so->so_pgid)) != 0) |
psignal(p, SIGURG); |
psignal(p, SIGURG); |
if (so->so_rcv.sb_sel) { |
selwakeup(&so->so_rcv.sb_sel); |
selwakeup(so->so_rcv.sb_sel, so->so_rcv.sb_flags & SB_COLL); |
|
so->so_rcv.sb_sel = 0; |
|
so->so_rcv.sb_flags &= ~SB_COLL; |
|
} |
|
} |
} |