aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-06-19 17:58:32 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-06-19 17:58:32 +0000
commit0068114dd5af20c30a3b45e27748462cdf44ac32 (patch)
treec5d856ba08941088a85e45c62edb6dd325787cac /sys/sys/_types.h
parent848194ce7628a1ddb344edb748acde4511e2ddee (diff)
downloadsrc-0068114dd5af20c30a3b45e27748462cdf44ac32.tar.gz
src-0068114dd5af20c30a3b45e27748462cdf44ac32.zip
Define __lwpid_t as an int32_t in <sys/_types.h> and define lwpid_t
as an __lwpid_t in <sys/types.h>. Retype td_tid from an int to a lwpid_t and change related definitions accordingly.
Notes
Notes: svn path=/head/; revision=130735
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 0b3467d266ed..c77f683fc53e 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -43,6 +43,7 @@ typedef __uint32_t __gid_t;
typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */
typedef __uint32_t __ino_t; /* inode number */
typedef long __key_t; /* IPC key (for Sys V IPC) */
+typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */
typedef __uint16_t __mode_t; /* permissions */
typedef int __nl_item;
typedef __uint16_t __nlink_t; /* link count */