Did I find the right examples for you? yes no

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

src/f/i/firefly-1.3.3dev/firefly/server/server.py   firefly(Download)
from twisted.internet import reactor
from firefly.utils import services
import os,sys,affinity
 
reactor = reactor

src/g/f/gfirefly-0.1.4alpha/gfirefly/server/server.py   gfirefly(Download)
from gtwisted.core import reactor
from gfirefly.utils import services
import os,sys,affinity
 
reactor = reactor

src/f/i/firefly-HEAD/firefly/server/server.py   firefly(Download)
from twisted.internet import reactor
from firefly.utils import services
import os,sys,affinity
 
reactor = reactor

src/r/o/robot-sandbox-HEAD/sim-files/main.py   robot-sandbox(Download)
 
try:
    import affinity
    affinity.set_process_affinity_mask(os.getpid(),1)
except: