• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email


src/p/y/pymol-HEAD/trunk/pymol/examples/devel/syncmol.py   pymol(Download)
        tok = sys.argv.pop()
        if tok == 'recv':
            port = int(sys.argv.pop())
            _stdin_reader_thread = threading.Thread(target=PyMOLReader,
                                                    args=(pymol,port))
            _stdin_reader_thread.setDaemon(1)
            _stdin_reader_thread.start()
            else:
                host = addr[0]
                port = addr[1]
            _stdin_reader_thread = threading.Thread(target=PyMOLWriter,
                                                    args=(pymol,host,port))
            _stdin_reader_thread.setDaemon(1)
            _stdin_reader_thread.start()

src/m/o/motmot-camtrig-HEAD/motmot.fview_ext_trig/examples/latency_measure_LED.py   motmot-camtrig(Download)
    # query USB device this often
    dt = 0.5
 
    update_thread = threading.Thread(target=update_model,args=(timestamp_modeler,dt))
    update_thread.setDaemon(True)
    update_thread.start()
 
    trigger_LED_off = threading.Event()
 
    interval = 1.0/fps
    LED_thread = threading.Thread( target=LED_pulse_time_randomizer,
                                   args=(trigdev,
                                         LED_pulse_time_queue,
                                         trigger_LED_on,

src/p/y/pymol-HEAD/pymol/examples/devel/syncmol.py   pymol(Download)
        tok = sys.argv.pop()
        if tok == 'recv':
            port = int(sys.argv.pop())
            _stdin_reader_thread = threading.Thread(target=PyMOLReader,
                                                    args=(pymol,port))
            _stdin_reader_thread.setDaemon(1)
            _stdin_reader_thread.start()
            else:
                host = addr[0]
                port = addr[1]
            _stdin_reader_thread = threading.Thread(target=PyMOLWriter,
                                                    args=(pymol,host,port))
            _stdin_reader_thread.setDaemon(1)
            _stdin_reader_thread.start()

src/f/v/fview_ext_trig-HEAD/examples/latency_measure_LED.py   fview_ext_trig(Download)
    # query USB device this often
    dt = 0.5
 
    update_thread = threading.Thread(target=update_model,args=(timestamp_modeler,dt))
    update_thread.setDaemon(True)
    update_thread.start()
 
    trigger_LED_off = threading.Event()
 
    interval = 1.0/fps
    LED_thread = threading.Thread( target=LED_pulse_time_randomizer,
                                   args=(trigdev,
                                         LED_pulse_time_queue,
                                         trigger_LED_on,

src/p/y/pyjamas-desktop-HEAD/pyjamas-webkit/examples/jsonrpc/public/services/jsonrpc/socketserver.py   pyjamas-desktop(Download)
from jsonrpc import SimpleServiceHandler
import socket
 
from threading import Thread
 
 
class SocketServiceHandler(SimpleServiceHandler):
    def acceptConnection(self, conn):
        t = Thread(target=self.handleConnection, args=(conn,))
        t.setDaemon(True)
        t.start()
 
class ThreadedTCPServiceServer(ThreadingMixin, TCPServiceServer):
    pass

src/p/y/pyjamas-desktop-HEAD/pyjamas-web/examples/jsonrpc/public/services/jsonrpc/socketserver.py   pyjamas-desktop(Download)
from jsonrpc import SimpleServiceHandler
import socket
 
from threading import Thread
 
 
class SocketServiceHandler(SimpleServiceHandler):
    def acceptConnection(self, conn):
        t = Thread(target=self.handleConnection, args=(conn,))
        t.setDaemon(True)
        t.start()
 
class ThreadedTCPServiceServer(ThreadingMixin, TCPServiceServer):
    pass

src/p/y/pyjamas-desktop-HEAD/pyjamas-khtml/examples/jsonrpc/public/services/jsonrpc/socketserver.py   pyjamas-desktop(Download)
from jsonrpc import SimpleServiceHandler
import socket
 
from threading import Thread
 
 
class SocketServiceHandler(SimpleServiceHandler):
    def acceptConnection(self, conn):
        t = Thread(target=self.handleConnection, args=(conn,))
        t.setDaemon(True)
        t.start()
 
class ThreadedTCPServiceServer(ThreadingMixin, TCPServiceServer):
    pass

src/m/o/motmot.fview_ext_trig-0.3.3/examples/latency_measure_LED.py   motmot.fview_ext_trig(Download)
    # query USB device this often
    dt = 0.5
 
    update_thread = threading.Thread(target=update_model,args=(timestamp_modeler,dt))
    update_thread.setDaemon(True)
    update_thread.start()
 
    trigger_LED_off = threading.Event()
 
    interval = 1.0/fps
    LED_thread = threading.Thread( target=LED_pulse_time_randomizer,
                                   args=(trigdev,
                                         LED_pulse_time_queue,
                                         trigger_LED_on,

src/d/i/diksel-HEAD/trunk/thirdparty/pyjamasdev/examples/jsonrpc/public/services/jsonrpc/socketserver.py   diksel(Download)
from jsonrpc import SimpleServiceHandler
import socket
 
from threading import Thread
 
 
class SocketServiceHandler(SimpleServiceHandler):
    def acceptConnection(self, conn):
        t = Thread(target=self.handleConnection, args=(conn,))
        t.setDaemon(True)
        t.start()
 
class ThreadedTCPServiceServer(ThreadingMixin, TCPServiceServer):
    pass

src/d/i/diksel-HEAD/trunk/thirdparty/pyjamasdev/examples/infohierarchy/public/services/jsonrpc/socketserver.py   diksel(Download)
from jsonrpc import SimpleServiceHandler
import socket
 
from threading import Thread
 
 
class SocketServiceHandler(SimpleServiceHandler):
    def acceptConnection(self, conn):
        t = Thread(target=self.handleConnection, args=(conn,))
        t.setDaemon(True)
        t.start()
 
class ThreadedTCPServiceServer(ThreadingMixin, TCPServiceServer):
    pass

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