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

Re: [libvirt] [PATCH 02/10] thread: Create thread local condition for every thread



On Fri, May 22, 2015 at 00:42:35 +0200, Jiri Denemark wrote:
> So that any code can call virThreadQueueRegister whenever it needs to
> wait for some event. The thread condition will be automatically
> invalidated (and thus ignored by virThreadQueue{Signal,Broadcast})
> whenever its thread exits to avoid deadlocks or crashes.
> 
> Signed-off-by: Jiri Denemark <jdenemar redhat com>
> ---
>  src/util/virthread.c | 21 +++++++++++++++++----
>  1 file changed, 17 insertions(+), 4 deletions(-)
> 

ACK,

Peter

Attachment: signature.asc
Description: Digital signature


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