]> xenbits.xensource.com Git - libvirt.git/commit
Convert daemon/events.c to use virMutex and virThread
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Nov 2010 15:56:44 +0000 (15:56 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 11 Nov 2010 16:03:15 +0000 (16:03 +0000)
commit77960c0e9d74cfdf1e35201835c21e35e463b119
tree06332b989539f1dde9d4cb6fd5de360a4edb2819
parent64d67507097ad109e85ec347750078d123bc517c
Convert daemon/events.c to use virMutex and virThread

The code currently uses pthreads APIs directly. This is not
portable to Win32 threads. Switch it over to use the portability
APIs. Also add a wrapper for pipe() which is subtely different
on Win32

* daemon/event.c: Switch to use virMutex & virThread.
daemon/event.c