diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-02-20 21:17:23 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:35 +0200 |
commit | e8c63bf3f3b03764429f7746723ebba462e905fc (patch) | |
tree | 256fe34e4c1723b657d04fe171b897f652a7b3fa /kern/thread.c | |
parent | ef4ad2eff0364329bb0e35865c2fcdcad364b739 (diff) | |
download | gnumach-e8c63bf3f3b03764429f7746723ebba462e905fc.tar.gz gnumach-e8c63bf3f3b03764429f7746723ebba462e905fc.tar.bz2 gnumach-e8c63bf3f3b03764429f7746723ebba462e905fc.zip |
2006-02-20 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* bogus/net_atm.h: Remove file.
* Makefile.in (bogus-files): Remove `net_atm.h'.
* kern/syscall_sw.c: Don't include <net_atm.h> anymore and adopt all
users of NET_ATM as if it were always defined to `0'.
* kern/task.c: Likewise.
* kern/task.h: Likewise.
* kern/thread.c: Likewise.
* kern/thread.h: Likewise.
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/kern/thread.c b/kern/thread.c index 04c19ceb..f1dcc52f 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -38,7 +38,6 @@ #include <mach_pcsample.h> #include <simple_clock.h> #include <mach_debug.h> -#include <net_atm.h> #include <mach/std_types.h> #include <mach/policy.h> @@ -66,10 +65,6 @@ #include <machine/machspl.h> /* for splsched */ #include <machine/thread.h> /* for MACHINE_STACK */ -#if NET_ATM -#include <chips/nw_mk.h> -#endif - thread_t active_threads[NCPUS]; vm_offset_t active_stacks[NCPUS]; @@ -448,10 +443,6 @@ kern_return_t thread_create( ipc_thread_init(new_thread); -#if NET_ATM - new_thread->nw_ep_waited = 0; -#endif - /* * Find the processor set for the parent task. */ @@ -862,9 +853,6 @@ kern_return_t thread_terminate( * reference to itself. */ ipc_thread_terminate(thread); -#if NET_ATM - mk_waited_collect(thread); -#endif thread_deallocate(thread); return KERN_SUCCESS; } @@ -903,9 +891,6 @@ thread_force_terminate( (void) thread_halt(thread, TRUE); ipc_thread_terminate(thread); -#if NET_ATM - mk_waited_collect(thread); -#endif #if MACH_HOST thread_unfreeze(thread); @@ -1147,9 +1132,6 @@ void thread_halt_self(void) * reaper thread. */ ipc_thread_terminate(thread); -#if NET_ATM - mk_waited_collect(thread); -#endif thread_hold(thread); |