Max Kellermann 3c3620b301 fix race condition in main_notify.c
The function wait_main_task() is racy: if the function
wakeup_via_cond() sees the mutex is locked just before
wait_main_task() executes pthread_cond_wait(), the main thread blocks
forever.

Work around this issue by adding a "pending" flag just like in my
notify.c code.  A standards-compliant solution should be implemented
later.

git-svn-id: https://svn.musicpd.org/mpd/trunk@7365 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-17 03:05:23 +00:00
2008-04-12 04:16:22 +00:00
2008-04-17 03:05:23 +00:00
2007-06-25 12:13:45 +00:00
2008-02-25 00:19:14 +00:00
2008-04-12 04:16:22 +00:00
2004-02-23 23:41:20 +00:00
2007-05-27 13:38:52 +00:00
2007-12-28 02:56:25 +00:00
2007-03-31 15:20:39 +00:00
2008-02-25 00:19:14 +00:00
2007-05-27 13:30:46 +00:00

                       Music Player Daemon (MPD)
                        http://www.musicpd.org

A daemon for playing music of various formats.  Music is played through the 
server's audio device.  The daemon stores info about all available music, 
and this info can be easily searched and retrieved.  Player control, info
retrieval, and playlist management can all be managed remotely.

To install MPD, see INSTALL.

MPD includes mp4ff in the source, due to licensing issues of the newer 
version and includes bugfixes with the properly licensed version.  mp4ff is 
released under the GPL and copyrighted by M. Bakker, Ahead Software AG 
(http://www.nero.com) and is distributed as a part of the FAAD2 - Freeware 
Advance Audio (AAC) Decoder.

MPD is released under the GNU Public License.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
For the full license, see COPYING.
Description
music player daemon (fork)
https://mpd.readthedocs.io/en/latest/
Readme 63 MiB
Languages
C++ 94.2%
Meson 2.9%
Python 1.4%
Kotlin 0.9%
Java 0.3%
Other 0.2%