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

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



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


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