On Thu, Oct 05, 2017 at 02:54:36PM +0200, Erik Skultety wrote:
> [...]
> > > +while (1) {
> > > +virMutexLock(&privateData->lock);
> > > +while (privateData->nevents == 0 && !privateData->threadQuit) {
> > > +if (virCondWait(&privateData->threadCond,
> > > &privateD
[...]
> > +while (1) {
> > +virMutexLock(&privateData->lock);
> > +while (privateData->nevents == 0 && !privateData->threadQuit) {
> > +if (virCondWait(&privateData->threadCond, &privateData->lock))
> > {
> > +virReportSystemError(errno, "%s",
> > +
On 09/18/2017 12:34 PM, Erik Skultety wrote:
> Adjust udevEventHandleThread to be a proper thread routine running in an
> infinite loop handling devices. Also introduce udevEventThreadData
> private structure.
> Every time there's and incoming event from udev, udevEventHandleCallback
> only incre
Adjust udevEventHandleThread to be a proper thread routine running in an
infinite loop handling devices. Also introduce udevEventThreadData
private structure.
Every time there's and incoming event from udev, udevEventHandleCallback
only increments the number of events queuing on the monitor and sig