From 916fffdbeacfda1fff38844d1cf19dcc359b0245 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sun, 21 Feb 1999 02:36:17 +0000 Subject: Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG * users.c (trivfs_S_io_revoke): Release global_lock before beginning the iteration. * users.c (trivfs_S_io_revoke): Add reply, reply_type args. --- term/users.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'term/users.c') diff --git a/term/users.c b/term/users.c index 31780aed..8849c4dc 100644 --- a/term/users.c +++ b/term/users.c @@ -816,7 +816,9 @@ trivfs_S_io_readable (struct trivfs_protid *cred, } error_t -trivfs_S_io_revoke (struct trivfs_protid *cred) +trivfs_S_io_revoke (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t replytype) { struct stat st; @@ -850,9 +852,10 @@ trivfs_S_io_revoke (struct trivfs_protid *cred) } } + mutex_unlock (&global_lock); + ports_bucket_iterate (term_bucket, iterator_function); - mutex_unlock (&global_lock); return 0; } -- cgit v1.2.3