- A few Vulkan wrapper structs
- Framework for Vulkan context - Fixed a bug with dynarray where if `resize()` shrinks the array, destructors are not called. - Fixed grammar issues with the containers library and added property tables to existing data structures.
This commit is contained in:
@@ -91,7 +91,7 @@ inline void fennec_test_threading_test_mpscq_producer(mpscq<size_t>* queue, size
|
||||
}
|
||||
|
||||
inline void fennec_test_threading_test_mpscq_consumer(mpscq<size_t>* queue, atomic<size_t>* res, atomic<bool>* done) {
|
||||
while (not done->load() or not queue->empty()) {
|
||||
while (not done->load() or not queue->is_empty()) {
|
||||
unique_ptr<size_t> ptr = queue->pop();
|
||||
if (ptr) {
|
||||
*res += *ptr;
|
||||
|
||||
Reference in New Issue
Block a user