aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2002-10-30 02:28:41 +0000
committerDavid Xu <davidxu@FreeBSD.org>2002-10-30 02:28:41 +0000
commit34e80e027d92a2db0e2a0fea5e1a56cd1856e6c8 (patch)
tree025f0097da64c2bd8954b19f178a9e91c5932b96 /sys/sys/proc.h
parent7a966f2ded110856471f7090b54500a0f324949c (diff)
downloadsrc-34e80e027d92a2db0e2a0fea5e1a56cd1856e6c8.tar.gz
src-34e80e027d92a2db0e2a0fea5e1a56cd1856e6c8.zip
Add an actual implementation of kse_thr_interrupt()
Notes
Notes: svn path=/head/; revision=106180
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index da0376d2caf3..aa824d38abd4 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -331,6 +331,7 @@ struct thread {
#define TDF_ONSLEEPQ 0x000200 /* On the sleep queue. */
#define TDF_INMSLEEP 0x000400 /* Don't recurse in msleep(). */
#define TDF_TIMOFAIL 0x001000 /* Timeout from sleep after we were awake. */
+#define TDF_INTERRUPT 0x002000 /* Thread is marked as interrupted. */
#define TDF_DEADLKTREAT 0x800000 /* Lock aquisition - deadlock treatment. */
#define TDI_SUSPENDED 0x01 /* On suspension queue. */