1. 31 Oct, 2018 1 commit
  2. 16 Jul, 2018 1 commit
  3. 15 Jul, 2018 1 commit
    • Yue Wang's avatar
      Support timed_wait in microseconds level · 79937c94
      Yue Wang authored
      Some Audio plugin (such as ALSA, and soon CoreAudio) already support microsecond level buffer time. However, current interval less than 1000 microseconds will cause a bug that the code treated as 0 ms.
      79937c94
  4. 26 Nov, 2017 1 commit
  5. 17 Jan, 2017 1 commit
  6. 03 Jan, 2017 1 commit
  7. 28 Dec, 2016 1 commit
  8. 19 Sep, 2016 1 commit
    • Christian Körner's avatar
      thread/PosixCond: fix timed_wait · 8bbfb5cd
      Christian Körner authored
      pthread_cond_timedwait() in PosixCond.hxx:timed_wait(PosixMutex...) returns
      EINVAL, if ts.tv_nsec >= 1E9. In this case, it returns to early.
      
      Find attached a patch which fixes this. I chose a compare-subtraction method
      to keep ts.tv_nsec below 1E9.
      
      Another option would be
      ts.tv_sec += ts.tv_nsec / 1000000000;
      ts.tv_nsec %= 1000000000;
      
      But I guess this takes more time on some ARM processors, which don't support
      hardware division.
      8bbfb5cd
  9. 01 Mar, 2016 1 commit
  10. 25 Aug, 2015 1 commit
  11. 13 Sep, 2014 1 commit
    • Max Kellermann's avatar
      thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSD · e304d0f8
      Max Kellermann authored
      On NetBSD, PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER are
      not compatible with C++11 "constexpr" (see Mantis ticket 0004110).  As
      a workaround, don't ues "constexpr", and use the functions
      pthread_mutex_init(), pthread_mutex_destroy(), pthread_cond_init() and
      pthread_cond_destroy() instead.  This adds some runtime overhead, but
      is portable to POSIX implementations that have awkward initializer
      macros.
      e304d0f8
  12. 02 Jul, 2014 1 commit
  13. 18 Feb, 2014 1 commit
  14. 16 Apr, 2013 1 commit
  15. 10 Jan, 2013 2 commits
  16. 07 Jan, 2013 1 commit
  17. 24 Jan, 2012 1 commit
  18. 29 Jan, 2011 1 commit
  19. 01 Jan, 2010 1 commit
  20. 31 Dec, 2009 1 commit