CLEANUP: quic: use task_new_on() for single-threaded tasks
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.
This commit is contained in:
parent
680ed5f28b
commit
8716875ea4
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user