Fixed it again.

This commit is contained in:
OBattler
2017-10-28 07:33:08 +02:00
parent 9a0a82b7ac
commit ce89e2145c
2 changed files with 4 additions and 4 deletions

View File

@@ -250,11 +250,11 @@ network_pcap_setup(uint8_t *mac, NETRXCB func, void *arg)
network_thread_init();
thread_started = thread_create_event();
pclog(" Starting thread..\n");
poll_tid = thread_create(poll_thread, mac);
thread_started = thread_create_event();
thread_wait_event((event_t *) thread_started, -1);
return(0);

View File

@@ -147,11 +147,11 @@ network_slirp_setup(uint8_t *mac, NETRXCB func, void *arg)
network_thread_init();
thread_start = thread_create_event();
pclog("SLiRP: starting thread..\n");
poll_tid = thread_create(poll_thread, mac);
thread_start = thread_create_event();
thread_wait_event((event_t *) thread_started, -1);
return(0);