MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / block

Function block

src/backend/cpu/Event.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void block(af_event eventHandle) {
59 Event& event = getEvent(eventHandle);
60 if (event.block() != 0) {
61 AF_ERROR("Could not block on active queue for event", AF_ERR_RUNTIME);
62 }
63}
64
65af_event createAndMarkEvent() {
66 af_event handle = createEvent();

Callers 1

af_block_eventFunction · 0.50

Calls 1

blockMethod · 0.45

Tested by

no test coverage detected