stuarthayhurst / ammonite-engine

A simple OpenGL based graphics engine for experiments
MIT License
3 stars 1 forks source link

Use a lock-free, thread-safe work queue #13

Open stuarthayhurst opened 1 month ago

stuarthayhurst commented 1 month ago

Currently, the engine uses atomic operations for pushes to the work queue, but not for pops. Experiment with a lock-free queue for potentially better performance.