Re: [Qemu-devel] Re: [PATCH 06/13] Threadlet: Add dequeue_work threadlet API

2011-01-07 Thread Stefan Hajnoczi
On Thu, Jan 6, 2011 at 10:43 AM, Arun R Bharadwaj wrote: > * Stefan Hajnoczi [2011-01-05 19:55:46]: > >> On Tue, Jan 04, 2011 at 10:57:39AM +0530, Arun R Bharadwaj wrote: >> > @@ -574,33 +574,39 @@ static void paio_remove(struct qemu_paiocb *acb) >> >      } >> >  } >> > >> > -static void paio_ca

[Qemu-devel] Re: [PATCH 06/13] Threadlet: Add dequeue_work threadlet API

2011-01-06 Thread Arun R Bharadwaj
* Stefan Hajnoczi [2011-01-05 19:55:46]: > On Tue, Jan 04, 2011 at 10:57:39AM +0530, Arun R Bharadwaj wrote: > > @@ -574,33 +574,39 @@ static void paio_remove(struct qemu_paiocb *acb) > > } > > } > > > > -static void paio_cancel(BlockDriverAIOCB *blockacb) > > +/** > > + * dequeue_work: C

[Qemu-devel] Re: [PATCH 06/13] Threadlet: Add dequeue_work threadlet API

2011-01-05 Thread Stefan Hajnoczi
On Tue, Jan 04, 2011 at 10:57:39AM +0530, Arun R Bharadwaj wrote: > @@ -574,33 +574,39 @@ static void paio_remove(struct qemu_paiocb *acb) > } > } > > -static void paio_cancel(BlockDriverAIOCB *blockacb) > +/** > + * dequeue_work: Cancel a task queued on the global queue. > + * @work: Conta