From f31d308827f848fdcd8ad61b89513f3c20b34e20 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 25 May 2018 14:16:49 -0700 Subject: SynchroHeap has a signalall method now. --- src/stable/synchroheap.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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 return iRet; } + void unblockAll() + { + icBlock.lock(); + icBlock.broadcast(); + icBlock.unlock(); + } + private: Heap< item, cmpfunc, itemalloc > hData; Mutex imData; -- cgit v1.2.3