[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-upstream-unstable] Revert "Fix semaphores fallback code"



commit dfe0055e38e3e328f19d4d67f0f4ae049436d3c8
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Wed Oct 2 17:16:31 2013 +0100
Commit:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
CommitDate: Wed Oct 2 17:16:31 2013 +0100

    Revert "Fix semaphores fallback code"
    
    This reverts commit 0a7ad69a0f012d5d70142f775f99405500d4d38e.
---
 qemu-thread-posix.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/qemu-thread-posix.c b/qemu-thread-posix.c
index e24e2ae..6d95bac 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) {
--
generated by git-patchbot for /home/xen/git/qemu-upstream-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.