Skip to content

BS::thread_pool v4.0.1

Compare
Choose a tag to compare
@bshoshany bshoshany released this 28 Dec 17:58
· 1 commit to master since this release

v4.0.1 (2023-12-28)

  • Fixed linkage issue caused by the global variables BS::this_thread::get_index and BS::this_thread::get_pool not being defined as inline. See 134 and 137.
  • Fixed redundant cast in the BS::thread_pool::blocks class, and added -Wuseless-cast to the GCC warning flags in BS_thread_pool_test.ps1 to catch similar issues in the future. See 133.
  • Each of the three files BS_thread_pool_test.cpp, BS_thread_pool.hpp, and BS_thread_pool_utils.hpp now contains three macros indicating the major, minor, and patch version of the file. In addition, BS_thread_pool_test.cpp now checks whether the versions of all three files match, and aborts compilation if they do not.