Module thread_safety

Module thread_safety 

Source
Expand description

Thread safety implementations for Vulkan structures

Vulkan structures contain pNext pointers for extension chains. These are *const c_void pointers that are typically null or point to other Vulkan structures. They are safe to send between threads because:

  1. They are read-only (const pointers)
  2. They point to immutable data during structure lifetime
  3. Vulkan API guarantees thread safety for these structures