Christian Körner 8bbfb5cda1 thread/PosixCond: fix timed_wait
pthread_cond_timedwait() in PosixCond.hxx:timed_wait(PosixMutex...) returns
EINVAL, if ts.tv_nsec >= 1E9. In this case, it returns to early.

Find attached a patch which fixes this. I chose a compare-subtraction method
to keep ts.tv_nsec below 1E9.

Another option would be
ts.tv_sec += ts.tv_nsec / 1000000000;
ts.tv_nsec %= 1000000000;

But I guess this takes more time on some ARM processors, which don't support
hardware division.
2016-09-19 11:21:21 +02:00
2016-02-26 17:54:05 +01:00
2013-04-17 00:37:30 +02:00
2016-09-19 11:21:21 +02:00
2016-02-26 16:14:06 +01:00
2016-09-18 13:33:48 -07:00
2016-08-15 10:00:03 +02:00
2016-07-29 20:25:59 +02:00
2014-07-14 19:04:46 +02:00
2016-08-23 10:27:39 +02:00

Music Player Daemon

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.

For basic installation information see the INSTALL file.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.

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%