MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / __init__

Method __init__

vrtManager/connection.py:20–33  ·  view source on GitHub ↗
(self, group=None, target=None, name=None, args=(), kwargs={})

Source from the content-addressed store, hash-verified

18
19class wvmEventLoop(threading.Thread):
20 def __init__(self, group=None, target=None, name=None, args=(), kwargs={}):
21 # register the default event implementation
22 # of libvirt, as we do not have an existing
23 # event loop.
24 libvirt.virEventRegisterDefaultImpl()
25
26 if name is None:
27 name = 'libvirt event loop'
28
29 super(wvmEventLoop, self).__init__(group, target, name, args, kwargs)
30
31 # we run this thread in deamon mode, so it does
32 # not block shutdown of the server
33 self.daemon = True
34
35 def run(self):
36 while True:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected