diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-08-16 17:46:52 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-08-16 17:46:52 +0000 |
commit | 5839ae8fd1d538f843fc564552a6e84536f6d48b (patch) | |
tree | 9881ef6c6c3801133ba1819d9c4ccb6cdccb7ac2 /pfinet/sched.c | |
parent | e209db9b661ed65761e420c43a5763493e570618 (diff) |
Formerly sched.c.~6~
Diffstat (limited to 'pfinet/sched.c')
-rw-r--r-- | pfinet/sched.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pfinet/sched.c b/pfinet/sched.c index e4aeadcb..38a419ff 100644 --- a/pfinet/sched.c +++ b/pfinet/sched.c @@ -60,3 +60,26 @@ wake_up_interruptible (struct wait_queue **p) condition_broadcast (&(*p)->c); } + +/* Wake up the owner of the SOCK. If HOW is zero, then just + send SIGIO. If HOW is one, then send SIGIO only if the + SO_WAITDATA flag is off. If HOW is two, then send SIGIO + only if the SO_NOSPACE flag is on, and also clear it. */ +int +sock_wake_async (struct socket *sock, int how) +{ + /* For now, do nothing. XXX */ + return 0; +} + +/* Record that we are doing a select. The table P is passed + to the protocol-specific select routine and then echoed + through to us. The WAIT_ADDRESS is what will be woken up + when I/O becomes possible. */ +void +select_wait (struct wait_queue **wait_address, select_table *p) +{ + /* For now, do nothing. XXX */ + return; +} + |