Warner Losh cf7ed68316 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).
2001-10-01 20:15:11 +00:00
..
2001-09-30 21:35:32 +00:00
2001-09-12 08:38:13 +00:00
2001-09-29 11:45:33 +00:00
2001-09-29 04:49:11 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-09-12 08:38:13 +00:00
2001-08-21 09:16:57 +00:00
2001-09-12 08:38:13 +00:00
2001-09-30 19:59:07 +00:00
2001-09-12 08:38:13 +00:00
2001-09-27 21:04:13 +00:00