summaryrefslogtreecommitdiff
path: root/src/ot_fullscrape.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-08 20:05:02 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-08 20:05:02 +0100
commit1829ce1647b6fd5d9a9e320e7c6e3a0cf7095bbd (patch)
tree35a12fa18e18b255dc3cef4f4107e924305a343d /src/ot_fullscrape.c
parent589cb500fa5a6df13fa9634d0071922ec11fce17 (diff)
panic when we can't install essential worker threads
Diffstat (limited to 'src/ot_fullscrape.c')
-rw-r--r--src/ot_fullscrape.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ot_fullscrape.c b/src/ot_fullscrape.c
index 787b508..bbceb0b 100644
--- a/src/ot_fullscrape.c
+++ b/src/ot_fullscrape.c
@@ -72,7 +72,8 @@ static void *fullscrape_worker(void *args) {
72 72
73static pthread_t thread_id; 73static pthread_t thread_id;
74void fullscrape_init(void) { 74void fullscrape_init(void) {
75 pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); 75 if (pthread_create(&thread_id, NULL, fullscrape_worker, NULL))
76 exerr("Cannot create fullscrape worker thread.");
76} 77}
77 78
78void fullscrape_deinit(void) { 79void fullscrape_deinit(void) {