add initial udev watchdog
This commit is contained in:
parent
2f259d7bf4
commit
da073404b1
@ -293,7 +293,12 @@ class driver():
|
|||||||
try:
|
try:
|
||||||
del(self.uDevices[fd])
|
del(self.uDevices[fd])
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
self.iDevicesFD = multiprocessing.Array('i', len(self.iDevices))
|
||||||
|
i = 0
|
||||||
|
for fd in self.iDevices:
|
||||||
|
self.iDevicesFD[i] = fd
|
||||||
|
i +=1
|
||||||
def hasIDevices(self):
|
def hasIDevices(self):
|
||||||
if not self._initialized:
|
if not self._initialized:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user