Skip to content
Snippets Groups Projects
  1. Jun 21, 2021
    • Martin Christoph Hierholzer's avatar
      DeviceModule: change initialValueMutex into latch · c8f41e59
      Martin Christoph Hierholzer authored
      The previous implementation using the mutex had two issues:
      
      1. The mutex was locked in a different thread than unlocked (DeviceModule constructor vs. handleException() thread). This results in undefined behaviour.
      2. The boost::shared_mutex::lock_shared() function is not an interruption point, so applications did not terminate while waiting for initial values. (boost::latch::wait() is an interruption point.)
      c8f41e59
  2. Jun 16, 2021
  3. Jun 15, 2021
  4. Jun 14, 2021
  5. Jun 11, 2021
  6. Jun 09, 2021
  7. Jun 08, 2021
  8. Jun 04, 2021
  9. Jun 03, 2021
  10. Jun 02, 2021
Loading