def Event(*args, **kwargs):
return _Event(*args, **kwargs)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/p/y/pyjamas-desktop-HEAD/pyjamas-web/examples/jsonrpc/public/services/jsonrpc/__init__.py pyjamas-desktop(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/p/y/pyjamas-desktop-HEAD/pyjamas-khtml/examples/jsonrpc/public/services/jsonrpc/__init__.py pyjamas-desktop(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/d/i/diksel-HEAD/trunk/thirdparty/pyjamasdev/examples/jsonrpc/public/services/jsonrpc/__init__.py diksel(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/d/i/diksel-HEAD/trunk/thirdparty/pyjamasdev/examples/infohierarchy/public/services/jsonrpc/__init__.py diksel(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/d/i/diksel-HEAD/thirdparty/pyjamasdev/examples/jsonrpc/public/services/jsonrpc/__init__.py diksel(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/d/i/diksel-HEAD/thirdparty/pyjamasdev/examples/infohierarchy/public/services/jsonrpc/__init__.py diksel(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/m/o/motmot-camtrig-HEAD/motmot.fview_ext_trig/examples/latency_measure_LED.py motmot-camtrig(Download)
flush_incoming_frames(cam,trigdev)
LED_pulse_time_queue = Queue.Queue()
trigger_LED_on = threading.Event()
trigger_LED_off = threading.Event()
interval = 1.0/fps
src/p/y/pyjamas-HEAD/src/examples/jsonrpc/public/services/jsonrpc/__init__.py pyjamas(Download)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from threading import Event, Lock from errors import *
def __init__(self):
self.__evt = Event()
def waiting(self):
return not self.__evt.isSet()
def waitForResponse(self, timeOut=None):
src/p/y/pymol-HEAD/trunk/pymol/modules/web/examples/justhttpd.py pymol(Download)
def __init__(self, port=0, root=None):
self.port = int(port)
self.stop_event = threading.Event()
self.stop_event.set()
self.root = root
self.server = BaseHTTPServer.HTTPServer(('', self.port),
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next