summaryrefslogtreecommitdiff
path: root/ot_tcp.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-01 00:53:53 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-01 00:53:53 +0100
commitaf0f2cb1be5aa10bb6a4bdd9f7ef4aa3950ecb31 (patch)
treebd366224016709d65bbb0b8fbc3148c29719e8c4 /ot_tcp.h
parentb7d9dc14eb560b1d19f506610535815f29085579 (diff)
Generalize the worker setup/runloop/teardown logic by adding a smol ot_worker helper
Diffstat (limited to 'ot_tcp.h')
-rw-r--r--ot_tcp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ot_tcp.h b/ot_tcp.h
index 96b6ec1..55a172c 100644
--- a/ot_tcp.h
+++ b/ot_tcp.h
@@ -22,7 +22,5 @@ void tcp_write(const int64_t sock);
22/* One thread accepting on one socket. Called once per worker. */ 22/* One thread accepting on one socket. Called once per worker. */
23void tcp_worker_install(int64_t sock); 23void tcp_worker_install(int64_t sock);
24 24
25/* Stop every worker installed above and wait for it to be gone */
26void tcp_workers_deinit(void);
27 25
28#endif 26#endif