summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-01-17 21:05:08 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-01-17 21:05:08 +0000
commit04598df21af6c0dcac1e4c1ac4431aa1f0996e0f (patch)
tree2dbf2ec51d5124aea1449099c90ec9204469988e
parent9acf81be5598969c5c286921db3d5f8be6f96fd0 (diff)
Formerly no-senders.c.~3~
-rw-r--r--libpager/no-senders.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libpager/no-senders.c b/libpager/no-senders.c
index cd5e4fd3..0a62cf12 100644
--- a/libpager/no-senders.c
+++ b/libpager/no-senders.c
@@ -59,3 +59,17 @@ pager_no_senders (struct pager *p,
}
+/* Called by port management routines when the last send-right
+ to a pager has gone away. This is a dual of pager_create. */
+void
+pager_clean (void *arg)
+{
+ struct pager *p = arg;
+
+ if (p->pager_state != NOTINIT)
+ panic ("pager not terminated"); /* XXX */
+
+ pager_clean_user_data (p->upi);
+
+ /* Should remove from list. XXX */
+}