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

Function do_test

examples/send-zerocopy.c:490–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490static void *do_test(void *arg)
491{
492 struct thread_data *td = arg;
493 int protocol = 0;
494
495 setup_sockaddr(cfg_family, str_addr, &td->dst_addr);
496
497 do_tx(td, cfg_family, cfg_type, protocol);
498 pthread_exit(&td->ret);
499 return NULL;
500}
501
502static void usage(const char *filepath)
503{

Callers

nothing calls this directly

Calls 2

setup_sockaddrFunction · 0.85
do_txFunction · 0.85

Tested by

no test coverage detected