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

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

 



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@xxxxxxxxxx>
> ---
>  src/util/virthread.c | 21 +++++++++++++++++----
>  1 file changed, 17 insertions(+), 4 deletions(-)
> 

ACK,

Peter

Attachment: signature.asc
Description: Digital signature

--
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]