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

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

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Audio/PyMedia/Resample.py   kamaelia(Download)
    def main(self):
        shutdown=False
        data=""
        while self.anyReady() or not shutdown:
            while self.dataReady("inbox"):

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Audio/PyMedia/Resample.py   kamaelia(Download)
    def main(self):
        shutdown=False
        data=""
        while self.anyReady() or not shutdown:
            while self.dataReady("inbox"):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/LinkedShutdown.py   kamaelia(Download)
    def main(self):
        print "WAITER", self.id, "waiting"
        while not self.dataReady("control"):
            if not self.anyReady(): self.pause()
            yield 1

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/FailShutdown.py   kamaelia(Download)
    def main(self):
        print "WAITER", self.id, "waiting"
        while not self.dataReady("control"):
            if not self.anyReady(): self.pause()
            yield 1

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/DemoShutdown.py   kamaelia(Download)
    def main(self):
        print "WAITER", self.id, "waiting"
        while not self.dataReady("control"):
            if not self.anyReady(): self.pause()
            yield 1

src/k/a/kamaelia-HEAD/Sketches/MH/pymedia/Audio/PyMedia/Resample.py   kamaelia(Download)
    def main(self):
        shutdown=False
        data=""
        while self.anyReady() or not shutdown:
            while self.dataReady("inbox"):

src/k/a/kamaelia-HEAD/Sketches/PO/KamPlanet/SimpleSample.py   kamaelia(Download)
                self.send(data, 'signal')
                return
            if not self.anyReady():
                self.pause()
            yield 1

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/LinkedShutdown.py   kamaelia(Download)
    def main(self):
        print "WAITER", self.id, "waiting"
        while not self.dataReady("control"):
            if not self.anyReady(): self.pause()
            yield 1

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/FailShutdown.py   kamaelia(Download)
    def main(self):
        print "WAITER", self.id, "waiting"
        while not self.dataReady("control"):
            if not self.anyReady(): self.pause()
            yield 1

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/DemoShutdown.py   kamaelia(Download)
    def main(self):
        print "WAITER", self.id, "waiting"
        while not self.dataReady("control"):
            if not self.anyReady(): self.pause()
            yield 1

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next