Skip to content
Snippets Groups Projects
  1. Jan 25, 2017
  2. Jan 24, 2017
  3. Jan 17, 2017
  4. Jan 12, 2017
  5. Dec 12, 2016
  6. Dec 09, 2016
  7. Dec 06, 2016
  8. Nov 10, 2016
  9. Oct 27, 2016
  10. Oct 25, 2016
  11. Oct 24, 2016
  12. Oct 07, 2016
  13. Oct 06, 2016
    • Dr. Felix Tobias Schindler's avatar
      [container] fix deadlock · 059382ab
      Dr. Felix Tobias Schindler authored
      The problem was a locked method calling backend(), thus calling
      ensure_uniqueness(), which in turn waited for a lock. The solution is to
      first ensure uniqueness and obtain, then lock, then use a reference on the
      unique backend. This is in general acchieved by
      ```
      auto& backend_ref = backend(); // calles ensure_uniqueness()
      std::lock...
      // work with backend_ref
      ```
      
      To make it a bit more explicit what is going on we could also let
      ensure_uniqueness() return a `BackendType&` and use that instead of
      backend().
      059382ab
    • Dr. Felix Tobias Schindler's avatar
      [container] add locking · 8c51edf6
      Dr. Felix Tobias Schindler authored
      8c51edf6
Loading