diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-31 18:48:00 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-31 18:48:00 +0100 |
| commit | 5b25f89d00433f1c11576d1ea19304797dc60d1b (patch) | |
| tree | 3810c8585354f4795bd2f441b64f70e581855214 /opentracker.c | |
| parent | 0bd368691eb0d9051725d76b2a3721bb902c919b (diff) | |
Refactor ot_workqueue out of ot_mutex, no behaviour change
Diffstat (limited to 'opentracker.c')
| -rw-r--r-- | opentracker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 6e073e9..2f2746d 100644 --- a/opentracker.c +++ b/opentracker.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include "ot_ip.h" | 29 | #include "ot_ip.h" |
| 30 | #include "ot_livesync.h" | 30 | #include "ot_livesync.h" |
| 31 | #include "ot_mutex.h" | 31 | #include "ot_mutex.h" |
| 32 | #include "ot_workqueue.h" | ||
| 32 | #include "ot_random.h" | 33 | #include "ot_random.h" |
| 33 | #include "ot_scan.h" | 34 | #include "ot_scan.h" |
| 34 | #include "ot_event.h" | 35 | #include "ot_event.h" |
| @@ -148,7 +149,7 @@ static void *server_mainloop(void *args) { | |||
| 148 | } | 149 | } |
| 149 | } | 150 | } |
| 150 | 151 | ||
| 151 | while ((sock = mutex_workqueue_popresult(&iovec_entries, &iovector, &is_partial)) != -1) | 152 | while ((sock = workqueue_popresult(&iovec_entries, &iovector, &is_partial)) != -1) |
| 152 | http_sendiovecdata(sock, &ws, iovec_entries, iovector, is_partial); | 153 | http_sendiovecdata(sock, &ws, iovec_entries, iovector, is_partial); |
| 153 | 154 | ||
| 154 | if (time_now_seconds() > next_timeout_check) { | 155 | if (time_now_seconds() > next_timeout_check) { |
