summaryrefslogtreecommitdiff
path: root/dde_pcnet32/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'dde_pcnet32/main.c')
-rw-r--r--dde_pcnet32/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dde_pcnet32/main.c b/dde_pcnet32/main.c
index 98f4452a..df8df1eb 100644
--- a/dde_pcnet32/main.c
+++ b/dde_pcnet32/main.c
@@ -12,6 +12,8 @@ int using_std = 1;
int main(int argc, char **argv)
{
+ pthread_t thread;
+
l4dde26_init();
l4dde26_process_init();
l4dde26_softirq_init();
@@ -25,7 +27,8 @@ int main(int argc, char **argv)
mach_device_init();
trivfs_init();
- cthread_detach (cthread_fork (ds_server, NULL));
+ pthread_create (&thread, NULL, ds_server, NULL);
+ pthread_detach (thread);
trivfs_server();
return 0;