diff options
author | Russ Cox <rsc@swtch.com> | 2020-12-30 08:41:01 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-12-30 08:41:01 -0500 |
commit | 91ececc99741b3111c69d455bc928e871b15d766 (patch) | |
tree | 09ff04c0001f812aa7a0464ca5119ab0acc40375 /src/libthread/threadimpl.h | |
parent | 4692dd4786f8847494d3f020bc3c05ba210adc0d (diff) | |
download | plan9port-91ececc99741b3111c69d455bc928e871b15d766.tar.gz plan9port-91ececc99741b3111c69d455bc928e871b15d766.tar.bz2 plan9port-91ececc99741b3111c69d455bc928e871b15d766.zip |
libthread: drop schedlock
Having two locks in the proc was causing deadlocks.
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r-- | src/libthread/threadimpl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 9eddba21..fd40f252 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -88,7 +88,6 @@ struct Proc uint nthread; uint sysproc; _Procrendez runrend; - Lock schedlock; _Thread *schedthread; void *udata; Jmp sigjmp; |