Re: [libvirt] [PATCH 1/8] Thread pool impl

2010-12-02 Thread Daniel P. Berrange
On Thu, Dec 02, 2010 at 09:43:12AM +0800, Hu Tao wrote: On Wed, Dec 01, 2010 at 05:26:27PM +, Daniel P. Berrange wrote: From: Hu Tao hu...@cn.fujitsu.com * src/util/threadpool.c, src/util/threadpool.h: Thread pool implementation * src/Makefile.am: Build thread pool ---

[libvirt] [PATCH 1/8] Thread pool impl

2010-12-01 Thread Daniel P. Berrange
From: Hu Tao hu...@cn.fujitsu.com * src/util/threadpool.c, src/util/threadpool.h: Thread pool implementation * src/Makefile.am: Build thread pool --- src/Makefile.am |1 + src/util/threadpool.c | 178 + src/util/threadpool.h | 23

Re: [libvirt] [PATCH 1/8] Thread pool impl

2010-12-01 Thread Eric Blake
On 12/01/2010 10:26 AM, Daniel P. Berrange wrote: From: Hu Tao hu...@cn.fujitsu.com Not sure whether Daniel or Hu will be the next person to post an improvement of this patch. Some of my comments are repeated from Hu's first attempt, although many of them have been addressed in updating to

Re: [libvirt] [PATCH 1/8] Thread pool impl

2010-12-01 Thread Hu Tao
On Wed, Dec 01, 2010 at 05:26:27PM +, Daniel P. Berrange wrote: From: Hu Tao hu...@cn.fujitsu.com * src/util/threadpool.c, src/util/threadpool.h: Thread pool implementation * src/Makefile.am: Build thread pool --- src/Makefile.am |1 + src/util/threadpool.c | 178