aboutsummaryrefslogtreecommitdiff
path: root/src/stable/synchroheap.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/synchroheap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stable/synchroheap.h b/src/stable/synchroheap.h
index 272f309..820e8da 100644
--- a/src/stable/synchroheap.h
+++ b/src/stable/synchroheap.h
@@ -140,6 +140,13 @@ namespace Bu
140 return iRet; 140 return iRet;
141 } 141 }
142 142
143 void unblockAll()
144 {
145 icBlock.lock();
146 icBlock.broadcast();
147 icBlock.unlock();
148 }
149
143 private: 150 private:
144 Heap< item, cmpfunc, itemalloc > hData; 151 Heap< item, cmpfunc, itemalloc > hData;
145 Mutex imData; 152 Mutex imData;