mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-26 16:02:50 +01:00
14 lines
455 B
Diff
14 lines
455 B
Diff
diff --git a/multipathd/uxlsnr.c b/multipathd/uxlsnr.c
|
|
index 7a9faf3..4e6a197 100644
|
|
--- a/multipathd/uxlsnr.c
|
|
+++ b/multipathd/uxlsnr.c
|
|
@@ -180,7 +180,7 @@ void * uxsock_listen(uxsock_trigger_fn uxsock_trigger, void * trigger_data)
|
|
pthread_mutex_unlock(&client_lock);
|
|
condlog(0, "%s: failed to realloc %d poll fds",
|
|
"uxsock", 1 + num_clients);
|
|
- pthread_yield();
|
|
+ sched_yield();
|
|
continue;
|
|
}
|
|
old_clients = num_clients;
|