MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / WriteLock

Method WriteLock

layers/core_checks/cc_synchronization.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65WriteLockGuard CoreChecks::WriteLock() {
66 if (global_settings.fine_grained_locking) {
67 return WriteLockGuard(validation_object_mutex, std::defer_lock);
68 } else {
69 return WriteLockGuard(validation_object_mutex);
70 }
71}
72
73bool SemaphoreSubmitState::CanWaitBinary(const vvl::Semaphore& semaphore_state) const {
74 assert(semaphore_state.type == VK_SEMAPHORE_TYPE_BINARY);

Callers 2

RetireMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected