diff options
-rw-r--r-- | libports/manage-multithread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c index 767d9ee7..f859feba 100644 --- a/libports/manage-multithread.c +++ b/libports/manage-multithread.c @@ -83,11 +83,12 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket, spin_lock (&lock); totalthreads++; nreqthreads++; + spin_unlock (&lock); + if (master) timeout = global_timeout; else timeout = thread_timeout; - spin_unlock (&lock); startover: |