search for: start_new_thread

Displaying 2 results from an estimated 2 matches for "start_new_thread".

Did you mean: _start_new_thread
2010 Mar 26
0
[PATCH] del xend entry when destroy pv usb host controller of a guest os with no pv-frontend driver
...1 2010 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Fri Mar 26 13:27:25 2010 +0800 @@ -1305,8 +1305,15 @@ frontpath = self.getDeviceController(deviceClass).frontendPath(dev) backpath = xstransact.Read(frontpath, "backend") thread.start_new_thread(self.getDeviceController(deviceClass).finishDeviceCleanup, (backpath, path)) - - rc = self.getDeviceController(deviceClass).destroyDevice(devid, force) + if deviceClass ==''vusb'': + dev = self.getDeviceController(deviceClass).convertToDeviceNum...
2002 Nov 03
0
python bindings and ao lockup
...ython bindings. My app has one or two threads running, the lockups only occure at one point, here is the code run as a thread def play(self): self.playing = TRUE self.output = [] self.lastplay = time.time() args = self.song_file, self.output retval = thread.start_new_thread(self.play_as_thread, args) <p>def play_as_thread(self, song_file, output): print self.get_name() + " started" vf = ogg.vorbis.VorbisFile(song_file) print "Vorbis File Object Created" dev = ao.AudioDevice(ao.driver_id('esd'))...