summaryrefslogtreecommitdiff
path: root/ot_sync.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-27 21:32:24 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-27 21:32:24 +0100
commit6cbd21542cf7a751e6f0f38864e7e9eae8fa3b14 (patch)
treeb5416c7e6ad2ac30cfe51559f69c122ed493450d /ot_sync.c
parente1d7b7771e915a01b5f1dd12664a6ac7fb397dfb (diff)
Plug in the new per-thread stats counter, also make sure that the ot_clean sleep does not stall tracker exit
Diffstat (limited to 'ot_sync.c')
-rw-r--r--ot_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_sync.c b/ot_sync.c
index f656bef..3668aa1 100644
--- a/ot_sync.c
+++ b/ot_sync.c
@@ -141,7 +141,7 @@ static void *sync_worker(void *args) {
141 ot_tasktype tasktype = TASK_SYNC_OUT; 141 ot_tasktype tasktype = TASK_SYNC_OUT;
142 ot_taskid taskid = mutex_workqueue_poptask(&tasktype); 142 ot_taskid taskid = mutex_workqueue_poptask(&tasktype);
143 sync_make(&iovec_entries, &iovector); 143 sync_make(&iovec_entries, &iovector);
144 stats_issue_event(EVENT_SYNC_OUT, FLAG_TCP, iovec_length(&iovec_entries, &iovector)); 144 stats_issue_event(ws, EVENT_SYNC_OUT, FLAG_TCP, iovec_length(&iovec_entries, &iovector));
145 if (mutex_workqueue_pushresult(taskid, iovec_entries, iovector)) 145 if (mutex_workqueue_pushresult(taskid, iovec_entries, iovector))
146 iovec_free(&iovec_entries, &iovector); 146 iovec_free(&iovec_entries, &iovector);
147 } 147 }