diff options
-rw-r--r-- | tests/test-io-stream-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-io-stream-common.c b/tests/test-io-stream-common.c index b3c12e6..dcd1304 100644 --- a/tests/test-io-stream-common.c +++ b/tests/test-io-stream-common.c @@ -549,6 +549,8 @@ check_for_termination (TestIOStreamThreadData *data, gsize *recv_count, while (*send_count < expected_recv_count) { if (data->callbacks->wait_transmission_cb) { data->callbacks->wait_transmission_cb (data->agent); + } else { + g_thread_yield (); } } |