- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2016 2 commits
-
-
Max Kellermann authored
Comes with a callback pointer instead of a virtual method, which allows multiple instances in one class.
-
Max Kellermann authored
Replaces the old BoundMethod template.
-
- 10 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 05 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 25 Nov, 2014 1 commit
-
-
Max Kellermann authored
-
- 26 Apr, 2014 1 commit
-
-
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.
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 04 Jan, 2014 2 commits
-
-
Max Kellermann authored
Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
-
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().
-
- 31 Dec, 2013 1 commit
-
-
Max Kellermann authored
-
- 27 Nov, 2013 1 commit
-
-
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.
-
- 15 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 10 Aug, 2013 1 commit
-
-
Max Kellermann authored
Implement an event loop without GLib.
-
- 08 Aug, 2013 1 commit
-
-
Max Kellermann authored
-
- 07 Aug, 2013 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Apr, 2013 1 commit
-
-
Max Kellermann authored
No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
-
- 14 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 03 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 25 Sep, 2009 1 commit
-
-
Max Kellermann authored
This patch implements a light-weight inotify library, and watches all directories below the music directory. It updates all directories where files changed after a delay of 5 seconds.
-
- 13 Mar, 2009 1 commit
-
-
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.
-
- 18 Jan, 2009 2 commits
-
-
Max Kellermann authored
The constructor/destructor interface should hide the functions read_state_file() and write_state_file().
-
Max Kellermann authored
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
If the state file cannot be read, for whatever reason, don't abort MPD. The state file isn't _that_ important.
-
- 02 Dec, 2008 1 commit
-
-
Thomas Jansen authored
We want to remove gcc.h eventually. This takes care of all the G_GNUC_NORETURN macros.
-
- 31 Oct, 2008 1 commit
-
-
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.
-
- 03 Jan, 2008 1 commit
-
-
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
-
- 05 Apr, 2007 1 commit
-
-
Avuton Olrich authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 30 Jul, 2006 1 commit
-
-
Eric Wong authored
This way it's easier to manage and extend. git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 20 Jul, 2006 1 commit
-
-
Avuton Olrich authored
Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
- 14 Jul, 2006 2 commits
-
-
J. Alexander Treuman authored
git-svn-id: https://svn.musicpd.org/mpd/trunk@4333 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-
Avuton Olrich authored
header, there's no need to export it. Static it. git-svn-id: https://svn.musicpd.org/mpd/trunk@4330 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-