Re: deadlock between g_event and a thread on removing a device.

2013-01-23 Thread Kohji Okuno
Hi Konstantin, Thank you for your comment. I don't have any solution for this issue. And when a device is removed suddenly, there are other problems, I think. > On Fri, Jan 18, 2013 at 02:45:38PM +0900, Kohji Okuno wrote: >> Hi, >> >> When I removed a device (ex. /dev/da0), I have encounterd a

Re: deadlock between g_event and a thread on removing a device.

2013-01-23 Thread Konstantin Belousov
On Fri, Jan 18, 2013 at 02:45:38PM +0900, Kohji Okuno wrote: > Hi, > > When I removed a device (ex. /dev/da0), I have encounterd a > dead-lock between ``g_event'' thread and a thread that is opening > device file (I call this thread as A). > > Would you refer the following? > > When the device i

deadlock between g_event and a thread on removing a device.

2013-01-17 Thread Kohji Okuno
Hi, When I removed a device (ex. /dev/da0), I have encounterd a dead-lock between ``g_event'' thread and a thread that is opening device file (I call this thread as A). Would you refer the following? When the device is removed between dev_refthread() and g_dev_open(), thread A incremented dev->s