MCPcopy Create free account
hub / github.com/RenderKit/oidn / oidnSignalSemaphoresAsync

Function oidnSignalSemaphoresAsync

api/api.cpp:792–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790 }
791
792 OIDN_API void oidnSignalSemaphoresAsync(OIDNDevice deviceC,
793 const OIDNSemaphore* semaphoresC,
794 const uint64_t* values,
795 int numSemaphores)
796 {
797 Device* device = reinterpret_cast<Device*>(deviceC);
798 OIDN_TRY
799 checkHandle(deviceC);
800 OIDN_LOCK_DEVICE(device);
801 device->checkCommitted();
802 device->submitSignalSemaphores(
803 reinterpret_cast<Semaphore* const*>(semaphoresC),
804 values,
805 numSemaphores);
806 OIDN_CATCH_DEVICE(device)
807 }
808
809 OIDN_API void oidnWaitSemaphoresAsync(OIDNDevice deviceC,
810 const OIDNSemaphore* semaphoresC,

Callers 2

signalSemaphoreAsyncMethod · 0.85
signalSemaphoresAsyncMethod · 0.85

Calls 2

checkCommittedMethod · 0.80

Tested by

no test coverage detected