Blender V5.0
BLI_enumerable_thread_specific.hh File Reference
#include <atomic>
#include <functional>
#include "BLI_map.hh"
#include "BLI_mutex.hh"
#include "BLI_utility_mixins.hh"

Go to the source code of this file.

Classes

class  blender::threading::EnumerableThreadSpecific< T >

Namespaces

namespace  blender
namespace  blender::threading
namespace  blender::threading::enumerable_thread_specific_utils

Variables

std::atomic< int > blender::threading::enumerable_thread_specific_utils::next_id = 0
int blender::threading::enumerable_thread_specific_utils::thread_id = next_id.fetch_add(1, std::memory_order_relaxed)