Turi Create
4.0
|
#include <core/parallel/lockfree_push_back.hpp>
Provides a lock free way to insert elements to the end of a container. Container must provide 3 functions.
resize(n) must guarantee that size() >= n. T& operator[](size_t idx) must succeed for idx < size() and must be safely executeable in parallel. size() must be safely executeable in parallel with resize().
Definition at line 70 of file lockfree_push_back.hpp.