From cd992854971715d00a728bb843ad1194330ca6fc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 26 Jun 1995 20:57:11 +0000 Subject: (ports_manage_port_operations_multithread): Declare NREQTHREADS asd TOTALTHREADS volatile. --- libports/manage-multithread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libports/manage-multithread.c') diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c index 5260d940..6b74f31d 100644 --- a/libports/manage-multithread.c +++ b/libports/manage-multithread.c @@ -31,8 +31,8 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket, int wire_cthreads, mach_port_t wire_threads) { - int nreqthreads = 0; - int totalthreads = 0; + volatile int nreqthreads = 0; + volatile int totalthreads = 0; spin_lock_t lock = SPIN_LOCK_INITIALIZER; auto void thread_function (int); -- cgit v1.2.3