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

Function test_interrupt_trigger_interrupt

dpdk/app/test/test_interrupts.c:136–143  ·  view source on GitHub ↗

* Write the pipe to simulate an interrupt. */

Source from the content-addressed store, hash-verified

134 * Write the pipe to simulate an interrupt.
135 */
136static int
137test_interrupt_trigger_interrupt(void)
138{
139 if (write(pfds.writefd, "1", 1) < 0)
140 return -1;
141
142 return 0;
143}
144
145/**
146 * Check if two interrupt handles are the same.

Callers 1

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected