KilnGraphics / Blaze4D

Minecraft but with Vulkan.
GNU Lesser General Public License v3.0
270 stars 12 forks source link

Add synchronized queues #33

Closed CodingRays closed 3 years ago

CodingRays commented 3 years ago

We will need to synchronize access to our queues once we start adding asynchronous commits. Luckily there are only 4 functions that need synchronized access so i think a small wrapper for queue objects with a lock should suffice. Its simple and stable.

hYdos commented 3 years ago

sounds good!