Noxagonal / Vulkan2DRenderer

Easy to use 2D rendering engine using Vulkan API as backend.
MIT License
118 stars 6 forks source link

Multithreading notes are not helpful. They should be saying if the call is internally or externally synchronized. #176

Open Noxagonal opened 1 year ago

Noxagonal commented 1 year ago

Currently the comments per function have a note: Multithreading: Any thread. Which is not helpful in determining if calling it should be internally or externally synchronized.

Instead these notes should say: Multithreading: Internally synchronized. for when calling the function does not need to be synchronized with a mutex with any other threads, and Multithreading: Externally synchronized. when only a single thread should be calling this function at a time.