WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
wpi::memory::is_thread_safe_allocator< joint_allocator > Struct Reference

Specialization of is_thread_safe_allocator to mark joint_allocator as thread safe. More...

#include <wpi/memory/joint_allocator.hpp>

Inheritance diagram for wpi::memory::is_thread_safe_allocator< joint_allocator >:

Detailed Description

Specialization of is_thread_safe_allocator to mark joint_allocator as thread safe.

This is an optimization to get rid of the mutex in allocator_storage, as joint allocator must not be shared between threads.

Note
The allocator is not thread safe, it just must not be shared.

The documentation for this struct was generated from the following file: