1. 21 Dec, 2015 2 commits
  2. 19 Dec, 2015 1 commit
  3. 18 Dec, 2015 1 commit
  4. 13 Dec, 2015 1 commit
    • Rémi Denis-Courmont's avatar
      interrupt: add support for custom callbacks · 9ee0adc8
      Rémi Denis-Courmont authored
      It seems impossible to handle interruptions while waiting on a
      condition variable otherwise.
      
      In particular, a single vlc_cond_wait_i11e() function would be
      intrinsically prone to deadlocks:
       - It would need to acquire the interrupt context lock while the caller
         already holds the mutex corresponding to the condition variable, but
       - the interrupt callback would need to acquire the mutex while holding
         the interrupt context lock.
      This would be a classic lock inversion race.
      
      This addition should also enable hooking with other libraries, such as
      Glib´s GCancellable.
      
      Be very careful when using these two new functions. VLC does not
      support stacking interrupt handlers (at least not currently). So there
      MUST NOT be any call to another interruptible function between
      vlc_interrupt_register() and vlc_interrupt_unregister().
      9ee0adc8
  5. 29 Nov, 2015 8 commits
  6. 03 Nov, 2015 1 commit
  7. 20 Oct, 2015 1 commit
  8. 06 Oct, 2015 1 commit
  9. 05 Oct, 2015 1 commit
  10. 27 Sep, 2015 2 commits
  11. 16 Sep, 2015 1 commit
  12. 02 Sep, 2015 1 commit
  13. 31 Aug, 2015 1 commit
  14. 29 Aug, 2015 1 commit
  15. 24 Aug, 2015 1 commit
  16. 13 Aug, 2015 1 commit
  17. 12 Aug, 2015 1 commit
  18. 28 Jul, 2015 4 commits
  19. 23 Jul, 2015 3 commits
  20. 22 Jul, 2015 1 commit
  21. 06 Jul, 2015 1 commit
  22. 01 Jul, 2015 5 commits