summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-10-01 20:15:11 +0000
committerimp <imp@FreeBSD.org>2001-10-01 20:15:11 +0000
commit8b90844e6d2305fa7729e121fb1836bb27a6c6e3 (patch)
tree20fdc88fe3869d34201c9a1042925cff3b4972f6 /include
parent75a3f18a2aa8e4952706d43f5b27b23f98702c54 (diff)
downloadFreeBSD-src-8b90844e6d2305fa7729e121fb1836bb27a6c6e3.zip
FreeBSD-src-8b90844e6d2305fa7729e121fb1836bb27a6c6e3.tar.gz
Add d_thread_t. This is a typedef for struct thread in -current and
will be one for struct proc in stable. those drivers needing to have cross version portability should use d_thread_t instead of inventing their own means. Non-drivers, and drivers that either only run on -current or must look under the covers of the struct proc/thread should must not use this. As noted in arch@, this minorly violates style(9), but the sys/conf.h devsw already violates this and all I'm doing is extending the violation to ease the burdon on device driver writers. It was judged that this minor violation, which doesn't impact userland or those people not using it, was preferable to the alternatives (eg #define proc thread). C does not allow a way to rename or alias structs easily, so we fall back to using a typedef. Bump FreeBSD_version to reflect this change (porters guide to be done in a separate commit).
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud