Fixed it again.
This commit is contained in:
@@ -250,11 +250,11 @@ network_pcap_setup(uint8_t *mac, NETRXCB func, void *arg)
|
|||||||
|
|
||||||
network_thread_init();
|
network_thread_init();
|
||||||
|
|
||||||
|
thread_started = thread_create_event();
|
||||||
|
|
||||||
pclog(" Starting thread..\n");
|
pclog(" Starting thread..\n");
|
||||||
poll_tid = thread_create(poll_thread, mac);
|
poll_tid = thread_create(poll_thread, mac);
|
||||||
|
|
||||||
thread_started = thread_create_event();
|
|
||||||
|
|
||||||
thread_wait_event((event_t *) thread_started, -1);
|
thread_wait_event((event_t *) thread_started, -1);
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
|
@@ -147,11 +147,11 @@ network_slirp_setup(uint8_t *mac, NETRXCB func, void *arg)
|
|||||||
|
|
||||||
network_thread_init();
|
network_thread_init();
|
||||||
|
|
||||||
|
thread_start = thread_create_event();
|
||||||
|
|
||||||
pclog("SLiRP: starting thread..\n");
|
pclog("SLiRP: starting thread..\n");
|
||||||
poll_tid = thread_create(poll_thread, mac);
|
poll_tid = thread_create(poll_thread, mac);
|
||||||
|
|
||||||
thread_start = thread_create_event();
|
|
||||||
|
|
||||||
thread_wait_event((event_t *) thread_started, -1);
|
thread_wait_event((event_t *) thread_started, -1);
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
|
Reference in New Issue
Block a user