Attempt to make the main thread wait for network mutex.
This commit is contained in:
@@ -348,7 +348,7 @@ network_rx_queue(void *priv)
|
||||
{
|
||||
int ret = 1;
|
||||
|
||||
if (network_rx_pause) {
|
||||
if (network_rx_pause || !thread_test_mutex(network_mutex)) {
|
||||
timer_on_auto(&network_rx_queue_timer, 0.762939453125 * 2.0 * 128.0);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user