Skip to content
New MINOR release 01.05.00

Changes since 01.04.02:

- fix: compiler warnings in g++ (#33)
    g++ 11.3.0 (default compiler on Ubuntu 22.04) and higher are complaining about variable shadowing in lambdas.
- fix: race condition (#32)
    When creating the notification queue in when_any() while the sending
    thread is already active, the when_any_index was written and read concurrently,
    but neither atomic nor protected by a mutex or memory barrier.
- use lib install dir defined by GNUInstallDirs
    this should fix library search problems on Tumbleweed
- modernize cmake (#28)
    provide exported target
    remove explicit compatibility layer
    do not declare GccAtomic required if it isn't
- fix asan tests (#26)
    Use set_default_flags.cmake in CMakeLists.txt
      This also brings the build types tsan and asan.
    Fixed direct memory leak reported in testAsyncRead by renovating shared_state_ptr::free() and creating
      shared_state_base::free() in future_queue.hpp. Functions  affected by this include
      future_queue_base::setNotificationQueue(), and when_any().