aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-10-05 11:15:18 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-10-05 11:15:18 +0000
commitf6f992995a008f18fe3c8c7fff815762d23a6030 (patch)
tree41c623abe1d4d9653c9d5204b364ffd084a6e34e
parentaac7652ecd15080af6de1836634ec31548ec5675 (diff)
Notes
-rw-r--r--sys/sys/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index ab858ccd6365d..8fc6b6ff59031 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -298,7 +298,7 @@ struct thread {
sigset_t td_siglist; /* (c) Sigs arrived, not delivered. */
sigset_t *td_waitset; /* (c) Wait set for sigwait */
TAILQ_ENTRY(thread) td_umtx; /* (c?) Link for when we're blocked. */
- u_int td_generation; /* (k) Enable detection of preemption */
+ volatile u_int td_generation; /* (k) Enable detection of preemption */
#define td_endzero td_base_pri