aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-08-08 22:26:11 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-08-08 22:26:11 +0000
commit1f2eac6cf3060f7d64eb1c797b9e685ea0b3f2d8 (patch)
tree9e1981e868076e52c9eefabd3262c4b3711b352d /sys/sys/ptrace.h
parentf0c7f156b3b439b697c8801acdca341d3b626d8b (diff)
downloadsrc-1f2eac6cf3060f7d64eb1c797b9e685ea0b3f2d8.tar.gz
src-1f2eac6cf3060f7d64eb1c797b9e685ea0b3f2d8.zip
Add pl_flags to ptrace_lwpinfo, two flags PL_FLAG_SA and PL_FLAG_BOUND
indicate that a thread is in UTS critical region. Reviewed by: deischen Approved by: marcel
Notes
Notes: svn path=/head/; revision=133337
Diffstat (limited to 'sys/sys/ptrace.h')
-rw-r--r--sys/sys/ptrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index e9493d3b1c3e..5596790e768c 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -89,6 +89,9 @@ struct ptrace_lwpinfo {
int pl_event; /* Event that stopped the LWP. */
#define PL_EVENT_NONE 0
#define PL_EVENT_SIGNAL 1
+ int pl_flags; /* LWP flags. */
+#define PL_FLAG_SA 0x01 /* M:N thread */
+#define PL_FLAG_BOUND 0x02 /* M:N bound thread */
};
#ifdef _KERNEL