1 /*------------------------------------------------------------------------
2 Junction: Concurrent data structures in C++
3 Copyright (c) 2016 Jeff Preshing
5 Distributed under the Simplified BSD License.
6 Original location: https://github.com/preshing/junction
8 This software is distributed WITHOUT ANY WARRANTY; without even the
9 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the LICENSE file for more information.
11 ------------------------------------------------------------------------*/
13 #ifndef JUNCTION_EXTRA_IMPL_MAPADAPTER_NULL_H
14 #define JUNCTION_EXTRA_IMPL_MAPADAPTER_NULL_H
16 #include <junction/Core.h>
23 static TURF_CONSTEXPR const char* getMapName() { return "Null"; }
30 ThreadContext(MapAdapter&, ureg) {
33 void registerThread() {
36 void unregisterThread() {
48 void assign(u32, void*) {
59 static ureg getInitialCapacity(ureg) {
65 } // namespace junction
67 #endif // JUNCTION_EXTRA_IMPL_MAPADAPTER_NULL_H