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

Function oidnWaitSemaphoresAsync

api/api.cpp:809–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807 }
808
809 OIDN_API void oidnWaitSemaphoresAsync(OIDNDevice deviceC,
810 const OIDNSemaphore* semaphoresC,
811 const uint64_t* values,
812 const uint32_t* timeoutsMs,
813 int numSemaphores)
814 {
815 Device* device = reinterpret_cast<Device*>(deviceC);
816 OIDN_TRY
817 checkHandle(deviceC);
818 OIDN_LOCK_DEVICE(device);
819 device->checkCommitted();
820 device->submitWaitSemaphores(
821 reinterpret_cast<Semaphore* const*>(semaphoresC),
822 values,
823 timeoutsMs,
824 numSemaphores);
825 OIDN_CATCH_DEVICE(device)
826 }
827
828 OIDN_API void oidnRetainSemaphore(OIDNSemaphore semaphoreC)
829 {

Callers 2

waitSemaphoreAsyncMethod · 0.85
waitSemaphoresAsyncMethod · 0.85

Calls 2

checkCommittedMethod · 0.80
submitWaitSemaphoresMethod · 0.45

Tested by

no test coverage detected