projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680ed5f
)
CLEANUP: quic: use task_new_on() for single-threaded tasks
author
Willy Tarreau
<w@1wt.eu>
Mon, 13 Jun 2022 14:31:53 +0000
(16:31 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 14 Jun 2022 08:38:03 +0000
(10:38 +0200)
This simply replaces a call to task_new(1<<thr) with task_new_on(thr)
so that we can later isolate the changes required to add more thread
group stuff.
src/xprt_quic.c
patch
|
blob
|
history
diff --git
a/src/xprt_quic.c
b/src/xprt_quic.c
index
32eeab8
..
0e7949c
100644
(file)
--- a/
src/xprt_quic.c
+++ b/
src/xprt_quic.c
@@
-4442,7
+4442,7
@@
static struct quic_conn *qc_new_conn(unsigned int version, int ipv4,
static int quic_conn_init_timer(struct quic_conn *qc)
{
/* Attach this task to the same thread ID used for the connection */
- qc->timer_task = task_new(1UL << qc->tid);
+ qc->timer_task = task_new_on(qc->tid);
if (!qc->timer_task)
return 0;