Re: [PATCH] threads: add virThreadID for debugging use

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

 



On 05/12/2010, at 8:33 AM, Eric Blake wrote:
> * src/util/threads.h (virThreadID): New prototype.
> * src/util/threads-pthread.c (virThreadID): New function.
> * src/util/threads-win32.c (virThreadID): Likewise.
> * src/libvirt_private.syms (threads.h): Export it.
> * daemon/event.c (virEventInterruptLocked): Use it to avoid
> warning on BSD systems.
> ---
> daemon/event.c             |    3 ++-
> src/libvirt_private.syms   |    1 +
> src/util/threads-pthread.c |    6 ++++++
> src/util/threads-win32.c   |    5 +++++
> src/util/threads.h         |    5 +++++
> 5 files changed, 19 insertions(+), 1 deletions(-)

As a data point, this patch fixes the "cast from pointer to integer 
of different size [-Wpointer-to-int-cast]" warnings.

But it's beyond my personal coding level for reviewing. :/

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