1. 26 Aug, 2021 1 commit
  2. 25 Aug, 2021 4 commits
  3. 24 Aug, 2021 2 commits
  4. 23 Aug, 2021 2 commits
  5. 22 Aug, 2021 1 commit
  6. 21 Aug, 2021 3 commits
  7. 19 Aug, 2021 15 commits
  8. 18 Aug, 2021 1 commit
  9. 16 Aug, 2021 5 commits
  10. 15 Aug, 2021 3 commits
  11. 14 Aug, 2021 2 commits
  12. 13 Aug, 2021 1 commit
    • yzct12345's avatar
      threadsafe_queue: Fix deadlock · 0ba521e6
      yzct12345 authored
      This fixes a lost wakeup in SPSCQueue. If the reader is in just the right position, the writer's notification will be lost and this will be a problem if the writer then does something to wait on the reader.
      
      This was discovered to affect my upcoming stacktrace PR. I don't think any performance decrease will be noticeable because an uncontended mutex is smart enough to skip the syscall. This PR might also resolve some rare deadlocks but I don't know of any examples.
      0ba521e6