diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-25 10:48:14 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-25 10:57:56 +0200 |
commit | 6604dc893e784ba55c315eac1e455189dbbd8164 (patch) | |
tree | a59f578a04537cab0cbac4cf7598f01b8825232b /freebsd | |
parent | BSD_ASSERT(): Optimize (diff) | |
download | rtems-libbsd-6604dc893e784ba55c315eac1e455189dbbd8164.tar.bz2 |
Delete rtems_bsd_thread_chain
Rely on RTEMS object registration for threads.
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/sys/sys/proc.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/freebsd/sys/sys/proc.h b/freebsd/sys/sys/proc.h index 84a1b4a2..58d7d6cc 100644 --- a/freebsd/sys/sys/proc.h +++ b/freebsd/sys/sys/proc.h @@ -201,15 +201,11 @@ struct rusage_ext { * This is what is put to sleep and reactivated. * Thread context. Processes may have multiple threads. */ -#ifdef __rtems__ -#include <rtems/chain.h> -#endif /* __rtems__ */ struct thread { #ifdef __rtems__ - rtems_chain_node td_node; Thread_Control *td_thread; struct rtems_bsd_program_control *td_prog_ctrl; - char td_name [16]; + char td_name[32]; #endif /* __rtems__ */ #ifndef __rtems__ struct mtx *volatile td_lock; /* replaces sched lock */ |