MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / wait_for_value

Method wait_for_value

src/cpp_wrapper.cpp:872–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870 }
871
872 auto TimelineSemaphore::wait_for_value(u64 value, u64 timeout_nanos) -> bool
873 {
874 auto result = daxa_timeline_semaphore_wait_for_value(r_cast<daxa_TimelineSemaphore>(this->object), value, timeout_nanos);
875 DAXA_DBG_ASSERT_TRUE_M(result == DAXA_RESULT_SUCCESS || result == DAXA_RESULT_TIMEOUT, "failed to wait on timeline semaphore");
876 return result == DAXA_RESULT_SUCCESS;
877 }
878
879 void TimelineSemaphore::signal_value(u64 value)
880 {

Callers 2

mainFunction · 0.80

Tested by

no test coverage detected