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

All Samples(26)  |  Call(15)  |  Derive(0)  |  Import(11)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Axon/Examples/STM/Philosophers.py   kamaelia(Download)
#!/usr/bin/python
 
import time
from threading import Thread
from Axon.STM import Store, ConcurrentUpdate, BusyRetry
            self.store = store
        else:
            self.store = Store()
        if name:
            self.name = name
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/kamaelia-HEAD/Code/Python/Bindings/STM/Example/Philosophers.py   kamaelia(Download)
import time
from threading import Thread
from Axon.STM import Store, ConcurrentUpdate, BusyRetry
import random
 
            self.store = store
        else:
            self.store = Store()
        if name:
            self.name = name
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/kamaelia-HEAD/Code/Python/Axon/Examples/STM/Philosophers.py   kamaelia(Download)
#!/usr/bin/python
 
import time
from threading import Thread
from Axon.STM import Store, ConcurrentUpdate, BusyRetry
            self.store = store
        else:
            self.store = Store()
        if name:
            self.name = name
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/Kamaelia-0.6.0/Examples/Axon/STM/Philosophers.py   Kamaelia(Download)
#!/usr/bin/python
 
import time
from threading import Thread
from Axon.STM import Store, ConcurrentUpdate, BusyRetry
            self.store = store
        else:
            self.store = Store()
        if name:
            self.name = name
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Axon/Examples/STM/Axon.Philosophers.py   kamaelia(Download)
#!/usr/bin/python
 
import time
import Axon
from Axon.STM import Store
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/kamaelia-HEAD/Code/Python/Bindings/STM/Example/Axon.Philosophers.py   kamaelia(Download)
import time
import Axon
from Axon.STM import Store
import random
 
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/kamaelia-HEAD/Code/Python/Axon/Examples/STM/Axon.Philosophers.py   kamaelia(Download)
#!/usr/bin/python
 
import time
import Axon
from Axon.STM import Store
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/Kamaelia-0.6.0/Examples/Axon/STM/Axon.Philosophers.py   Kamaelia(Download)
#!/usr/bin/python
 
import time
import Axon
from Axon.STM import Store
            time.sleep(0.3+random.random())
 
S = Store()
N = 5
for i in range(1,N):

src/k/a/kamaelia-HEAD/Code/Python/Apps/SpeakNWrite/App/SpeakNWrite.py   kamaelia(Download)
 
import Axon
from Axon.STM import Store
 
from Kamaelia.Chassis.Pipeline import Pipeline
 
 
SpokenStore = Store()
 
class aggregator(Axon.Component.component):

src/k/a/kamaelia-HEAD/Sketches/JT/Silly/SpeakNWrite.py   kamaelia(Download)
 
from Kamaelia.Apps.SpeakNLearn.Gestures.Pen import Pen
from Axon.STM import Store
 
SpokenStore = Store()

  1 | 2  Next