Lines Matching refs:to
8 allocator templates that are similar to the STL template class
16 might have to compete for a single shared pool in a way that allows
17 only one thread to allocate at a time.
20 Use the ``scalable_allocator<T>`` template to avoid scalability
30 to the other, even if the two processors are dealing with different
32 cache lines can take hundreds of clocks to move.
35 Use the ``cache_aligned_allocator<T>`` template to always allocate on
37 ``cache_aligned_allocator`` are guaranteed to not have false sharing.
42 You can use these allocator templates as the *allocator* argument to STL
43 template classes.The following code shows how to declare an STL vector
57 ``cache_aligned_allocator<T>`` only if false sharing is likely to be
62 equivalent to the C standard library memory management routines but has
63 the ``scalable_`` prefix in their names, as well as the way to easily
64 redirect the standard routines to these functions.