MCPcopy Create free account
hub / github.com/OAID/Tengine / EventSender

Function EventSender

internal/tests/core/test/test_notify.cpp:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36volatile int active_thread; // should use atomic_t
37
38void EventSender(NotifyBus* bus, int event, int number)
39{
40 EventData arg;
41
42 arg.event = event;
43
44 for(int i = number - 1; i >= 0; i--)
45 {
46 arg.data = i;
47 arg.args = bus;
48 bus->Send(event, &arg, i);
49 }
50}
51
52bool Eventhandler0(int event, EventData* data, any* argument)
53{

Callers 1

test_singleFunction · 0.85

Calls 1

SendMethod · 0.80

Tested by

no test coverage detected