MCPcopy Create free account
hub / github.com/F-Stack/f-stack / eal_thread_ack_command

Function eal_thread_ack_command

dpdk/lib/eal/windows/eal_thread.c:57–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void
58eal_thread_ack_command(void)
59{
60 unsigned int lcore_id = rte_lcore_id();
61 char c = 0;
62 int w2m;
63 int n;
64
65 w2m = lcore_config[lcore_id].pipe_worker2main[1];
66 do {
67 n = _write(w2m, &c, 1);
68 } while (n == 0 || (n < 0 && errno == EINTR));
69 if (n < 0)
70 rte_panic("cannot write on configuration pipe\n");
71}
72
73/* get current thread ID */
74int

Callers 1

eal_thread_loopFunction · 0.50

Calls 1

rte_lcore_idFunction · 0.85

Tested by

no test coverage detected