MCPcopy Create free account
hub / github.com/axboe/liburing / setup_thread

Function setup_thread

test/accept-non-empty.c:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static void setup_thread(struct data *d, int nconns)
95{
96 d->connects = nconns;
97 pthread_barrier_init(&d->barrier, NULL, 2);
98 pthread_barrier_init(&d->conn_barrier, NULL, 2);
99 pthread_create(&d->thread, NULL, connect_fn, d);
100}
101
102static int test_maccept(struct data *d, int flags, int fixed)
103{

Callers 1

test_macceptFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_macceptFunction · 0.68