summaryrefslogtreecommitdiff
path: root/pfinet/main.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-09 05:05:04 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-09 05:05:04 +0000
commita954869b1da55349ce3de83df3f8a8ec0334b767 (patch)
tree1d2fe2f1d4dc617e0833a6180b127e4eeb8892bc /pfinet/main.c
parent45a569132f7b3d9c5ae0080908491baf525fa511 (diff)
1999-09-09 Thomas Bushnell, BSG <tb@mit.edu>
* ethernet.c (ethernet_open): Don't start the input work thread here. (more_packets, mark_bh, input_work_thread): Move these to ... * devices.c: ... here. Also include "pfinet.h" instead of list of <> includes. * main.c (main): Launch input work thread here. * pfinet.h (input_work_thread): Declare function. * devices.c (add_device): Remove unused function. * pfinet.h (incoming_net_packet): Remove unused declaration.
Diffstat (limited to 'pfinet/main.c')
-rw-r--r--pfinet/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/main.c b/pfinet/main.c
index a0e149b3..0232dd66 100644
--- a/pfinet/main.c
+++ b/pfinet/main.c
@@ -188,7 +188,7 @@ main (int argc,
init_devices ();
init_time ();
-
+ cthread_detach (cthread_fork (input_work_thread, 0));
inet_proto_init (0);
arrange_shutdown_notification ();