diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-26 20:54:00 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-26 20:54:00 +0000 |
commit | f32abc2d47620929ec360fbc764ba9a07f92c36d (patch) | |
tree | 706562c624f0218a07a1799d1a5f0e01b9dc82e4 /libports/manage-multithread.c | |
parent | 1b73aa61d03addd9db80dfd8ddc0a3c2c475c9fc (diff) |
(ports_manage_port_operations_multithread): When master goes back to
wait for messages, it should unlock LOCK.
Diffstat (limited to 'libports/manage-multithread.c')
-rw-r--r-- | libports/manage-multithread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c index f859feba..6a0fc670 100644 --- a/libports/manage-multithread.c +++ b/libports/manage-multithread.c @@ -102,7 +102,10 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket, { spin_lock (&lock); if (totalthreads != 1) - goto startover; + { + spin_unlock (&lock); + goto startover; + } return; } else |