minor change

v2
Brett 2025-01-13 14:43:32 -05:00
parent 8133553ed8
commit 4c462dff38
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake)
set(BLT_VERSION 2.1.14)
set(BLT_VERSION 2.1.15)
set(BLT_TARGET BLT)

View File

@ -62,11 +62,11 @@ namespace blt
// (unique_lock acquires lock)
std::unique_lock lock(count_mutex);
std::size_t current_uses = use_count;
if (++threads_waiting == thread_count)
{
threads_waiting = 0;
use_count++;
++use_count;
cv.notify_all();
} else
{

@ -1 +1 @@
Subproject commit d88c5e15079047777b418132ece5879e7c9aaa2b
Subproject commit 8a889d3699b3c09ade435641fb034427f3fd12b6