We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dbce82 commit 6ca899dCopy full SHA for 6ca899d
lib/CL/devices/remote/communication.c
@@ -918,10 +918,15 @@ pocl_remote_reader_pthread (void *aa)
918
finish_running_cmd (cmd, NETCMD_FAILED);
919
}
920
POCL_UNLOCK (inflight->mutex);
921
+
922
+#if defined(ENABLE_REMOTE_DISCOVERY_AVAHI) \
923
+ || defined(ENABLE_REMOTE_DISCOVERY_DHT) \
924
+ || defined(ENABLE_REMOTE_DISCOVERY_ANDROID)
925
POCL_LOCK (connection->discovery_reconnect_guard.mutex);
926
POCL_WAIT_COND (connection->discovery_reconnect_guard.cond,
927
connection->discovery_reconnect_guard.mutex);
928
POCL_UNLOCK (connection->discovery_reconnect_guard.mutex);
929
+#endif
930
931
goto TRY_RECONNECT;
932
0 commit comments