-
This patch was based on the patch sent out by Song and reworked. Especially - switched from CLOCK_MONOTONIC to CLOCK_REALTIME According to POSIX this service is based on CLOCK_REALTIME - Fixed some mutex leaks / missing pthread_mutex_destroy() - Removed some magic numbers used for making sure the syscall does not return too early - Fixed several mutex deadlocks. Once mutex_timedlock() was successful following calls will deadlock (as long as no special DEADLOCK mutex is being used) Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com> [Jan: resolve compiler warning about uninitialized t1, fix join result evaluation] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
037495e4