On 09/11/2012 10:51 AM, Liu Ping Fan wrote: > From: Liu Ping Fan <pingf...@linux.vnet.ibm.com> > > DeviceState will be protected by refcnt from disappearing during > dispatching. But when refcnt comes down to zero, DeviceState may > be still in use by iohandler, timer etc in main loop, we just delay > its free untill no reader. >
How can this be? We elevate the refcount while dispatching I/O. If we have similar problems with the timer, we need to employ a similar solution. -- error compiling committee.c: too many arguments to function