Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/k/a/kamaelia-HEAD/Sketches/PO/misc/usingHandle4.py   kamaelia(Download)
			Foo.dummyComponent = dummyComponent().activate()
			if background.background.lock.acquire(False):
				background.background.lock.release()
				self.bg = background.background()
				self.bg.start()

src/k/a/kamaelia-HEAD/Sketches/PO/misc/usingHandle3.py   kamaelia(Download)
		if waitForLock(background.background.lock):
#			print "got it, releasing"
			background.background.lock.release()
#			print "new background..."
			self.bg = background.background()

src/k/a/kamaelia-HEAD/Sketches/PO/misc/usingHandle2.py   kamaelia(Download)
		if waitForLock(background.background.lock):
#			print "got it, releasing"
			background.background.lock.release()
#			print "new background..."
			self.bg = background.background(zap=True)