From dfe0055e38e3e328f19d4d67f0f4ae049436d3c8 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Wed, 2 Oct 2013 17:16:31 +0100 Subject: [PATCH] Revert "Fix semaphores fallback code" This reverts commit 0a7ad69a0f012d5d70142f775f99405500d4d38e. --- qemu-thread-posix.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qemu-thread-posix.c b/qemu-thread-posix.c index e24e2aed8..6d95bac53 100644 --- a/qemu-thread-posix.c +++ b/qemu-thread-posix.c @@ -213,7 +213,6 @@ int qemu_sem_timedwait(QemuSemaphore *sem, int ms) while (sem->count < 0) { rc = pthread_cond_timedwait(&sem->cond, &sem->lock, &ts); if (rc == ETIMEDOUT) { - ++sem->count; break; } if (rc != 0) { -- 2.39.5