Re: [PATCH] client: Check if other thread claims it has the buck before claiming it.

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

 



On 12/02/2011 02:21 PM, Jiri Denemark wrote:
+
+        /* We need to re-check if the buck has been passed to this thread
+         * as this thread might have been signalled to wake up, but the another

Just remove "the" from "but the another".

+         * call might acquire the lock before this thread manages to wake up.
+         * This could cause that two threads claim they have the buck */
+        goto recheck;
      }

      VIR_DEBUG("We have the buck %p %p", client->waitDispatch, thiscall);

ACK

Jirka


Thanks, fixed && pushed.

Peter

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]