From 0f95c7d1056cab5bd8c6334cf601349ac4631457 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 29 Oct 2026 00:53:50 +0100 Subject: Revert last wake-up experiment. Having each udp worker wake up once a second to check if the tracker stops is wasteful --- ot_socket.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ot_socket.h') diff --git a/ot_socket.h b/ot_socket.h index 9340d0d..f73a5c9 100644 --- a/ot_socket.h +++ b/ot_socket.h @@ -39,10 +39,6 @@ int socket_is_connected(int s); int socket_accept(int s, ot_ip6 ip, uint16_t *port); int socket_set_blocking(int s, int blocking); -/* Bound how long a blocking read waits, so the thread sitting in one gets to - look at the running flag now and then */ -int socket_set_timeout(int s, int seconds); - ssize_t socket_recv(int s, void *buf, size_t len, ot_ip6 ip, uint16_t *port); ssize_t socket_send(int s, const void *buf, size_t len, const ot_ip6 ip, uint16_t port); -- cgit v1.3