aboutsummaryrefslogtreecommitdiffstats
path: root/src/idle.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add idle event on sticker deletion, update and insertionQball Cow2009-01-251-1/+1
|
* event_pipe: added pipe_event enum and callbacksMax Kellermann2009-01-011-1/+1
| | | | | | | | | Make the event_pipe (formerly main_notify) send/receive a set of events, with a callback for each one. The default event PIPE_EVENT_SIGNAL does not have a callback. It is still there for waking up the main thread, when it is waiting for the player thread.
* event_pipe: renamed functions from main_notify_* to event_pipe_*Max Kellermann2009-01-011-1/+1
| | | | Continuing the previous patch.
* main_notify: renamed source to event_pipe.cMax Kellermann2009-01-011-1/+1
| | | | | | We are going to migrate away from the concept of notifying the main thread. There should be events sent to it instead. This patch starts a series to implement that.
* idle: migrate from pthread to glib threadsThomas Jansen2008-12-281-6/+21
|
* command: allow clients to subscribe to specific idle eventsMarc Pavot2008-11-221-0/+18
| | | | | | The client may provide the names of idle events as arguments to the "idle" command to inform MPD that it is only interested in these events.
* command: added command "idle"Max Kellermann2008-10-141-0/+56
"idle" waits until something noteworthy happens on the server, e.g. song change, playlist modified, database updated. This allows clients to keep up to date without polling.