summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-26 20:57:11 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-26 20:57:11 +0000
commitcd992854971715d00a728bb843ad1194330ca6fc (patch)
tree2861c51c039efba47baf523b11fcfb2264b9850c /libports
parent9542db576f9d453e0c9b65df9e9eb395e3d8b632 (diff)
(ports_manage_port_operations_multithread): Declare NREQTHREADS asd
TOTALTHREADS volatile.
Diffstat (limited to 'libports')
-rw-r--r--libports/manage-multithread.c4
1 files changed, 2 insertions, 2 deletions
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);