X-Git-Url: http://plrg.eecs.uci.edu/git/?p=junction.git;a=blobdiff_plain;f=junction%2Fstriped%2FConditionBank.h;h=163bc31155a35b58d5ff0f9b3701a7ef8ae4a8c8;hp=25566372fdd172fef9f9bf79bd2ba4ae42013e18;hb=85f6b6e7f0c65f292e21af4b0fa2ef6ad2955a00;hpb=36b33f71c9b2568f3bfe1127741a1187b0ab342a diff --git a/junction/striped/ConditionBank.h b/junction/striped/ConditionBank.h index 2556637..163bc31 100644 --- a/junction/striped/ConditionBank.h +++ b/junction/striped/ConditionBank.h @@ -1,6 +1,6 @@ /*------------------------------------------------------------------------ Junction: Concurrent data structures in C++ - Copyright (c) 2016 Jeff Preshing + Copyright (c) 2016-2017 Jeff Preshing Distributed under the Simplified BSD License. Original location: https://github.com/preshing/junction @@ -36,6 +36,8 @@ private: ConditionPair* initialize(); public: + ~ConditionBank(); + ConditionPair& get(void* ptr) { ConditionPair* pairs = m_pairs.load(turf::Consume); if (!pairs) {