1. 03 Jan, 2017 1 commit
  2. 17 Jun, 2016 1 commit
  3. 10 Mar, 2016 1 commit
  4. 05 Mar, 2016 1 commit
  5. 26 Feb, 2016 1 commit
  6. 01 Jan, 2015 1 commit
  7. 25 Nov, 2014 1 commit
  8. 26 Apr, 2014 1 commit
    • Max Kellermann's avatar
      DeferredMonitor: fix race condition when using GLib event loop · 0efb67b5
      Max Kellermann authored
      Turns out the lock-free code using atomics was not thread-safe.  The
      given callback could be invoked by GLib before the source_id attribute
      was assigned.  This commit changes the DeferredMonitor class to use a
      Mutex to block the event loop until source_id is assigned.  This bug
      does not exist in the 0.19 branch because it does not use the GLib
      main loop anymore.
      0efb67b5
  9. 13 Jan, 2014 1 commit
  10. 04 Jan, 2014 2 commits
    • Max Kellermann's avatar
      event/Loop: remove the GLib implementation · f0d3b47a
      Max Kellermann authored
      Now that the remaining known bugs in poll() implementation are fixed,
      we can go on without the GLib implementation.
      f0d3b47a
    • Max Kellermann's avatar
      event/DeferredMonitor: make fully thread-safe · a357d84d
      Max Kellermann authored
      Instead of creating a new eventfd for each DeferredMonitor instance,
      reuse EventLoop's eventfd, and add a std::list to EventLoop that
      manages the list of pending DeferredMonitors.  This std::list is
      protected by the same mutex as the "calls" list.
      
      The bottom line is: reduced overhead because the per-instance eventfd
      was eliminated, slightly added overhead due to Mutex usage (but
      negligible), and we're thread-safe now.
      
      This subsystem is now good enough to replace EventLoop::AddCall().
      a357d84d
  11. 31 Dec, 2013 1 commit
  12. 27 Nov, 2013 1 commit
    • Denis Krjuchkov's avatar
      Add infrastructure for using multiple event loops · 46bab7e4
      Denis Krjuchkov authored
      This change adds two configuration options:
      
        --with-eventloop=[glib|internal|auto]
        --with-pollmethod=[epoll|auto]
      
      First allows switching between GLib event loop and internal one.
      Second chooses backend to use for internal event loop.
      Conditional compilation symbols are changed accordingly.
      Additional helper macro MPD_OPTIONAL_FUNC_NODEF is added as well.
      46bab7e4
  13. 15 Oct, 2013 1 commit
  14. 10 Aug, 2013 1 commit
  15. 08 Aug, 2013 1 commit
  16. 07 Aug, 2013 3 commits
  17. 08 Apr, 2013 1 commit
  18. 14 Jan, 2013 2 commits
  19. 03 Jan, 2013 1 commit
  20. 02 Jan, 2013 1 commit
  21. 29 Jan, 2011 1 commit
  22. 01 Jan, 2010 1 commit
  23. 25 Sep, 2009 1 commit
  24. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  25. 18 Jan, 2009 2 commits
  26. 03 Jan, 2009 1 commit
  27. 02 Dec, 2008 1 commit
  28. 31 Oct, 2008 1 commit
    • Max Kellermann's avatar
      added prefix to header macros · ea515494
      Max Kellermann authored
      "LOG_H" is a macro which is also used by ffmpeg/log.h.  This is
      ffmpeg's fault, because short macros should be reserved for
      applications, but since it's always a good idea to choose prefixed
      macro names, even for applications, we are going to do that in MPD.
      ea515494
  29. 03 Jan, 2008 1 commit
    • Eric Wong's avatar
      Cleanup #includes of standard system headers and put them in one place · cb8f1af3
      Eric Wong authored
      This will make refactoring features easier, especially now that
      pthreads support and larger refactorings are on the horizon.
      
      Hopefully, this will make porting to other platforms (even
      non-UNIX-like ones for masochists) easier, too.
      
      os_compat.h will house all the #includes for system headers
      considered to be the "core" of MPD.  Headers for optional
      features will be left to individual source files.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      cb8f1af3
  30. 05 Apr, 2007 1 commit
  31. 30 Jul, 2006 1 commit
  32. 20 Jul, 2006 1 commit
  33. 14 Jul, 2006 2 commits
  34. 13 Jul, 2006 1 commit