##// END OF EJS Templates
tasks on engines when they die fail instead of hang...
tasks on engines when they die fail instead of hang This is only true in the Python scheduler, and not for any ZMQ scheduler (MUX,control,pure)

File last commit:

r3609:8d078bcc
r3612:4094d44b
Show More
remotefunction.py
22 lines | 413 B | text/x-python | PythonLexer
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564 from IPython.zmq.parallel.client import *
MinRK
updated newparallel examples, moved into docs
r3609 client = Client()
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564
@remote(client, bound=True)
def getkey(name):
"""fetch something from globals"""
return globals().get(name)
@remote(client, bound=True, targets='all')
def setpids():
import os
globals()['pid'] = os.getpid()
# set pid in the globals
setpids()
getkey('pid')
getkey.targets=[1,2]
getkey('pid')
getkey.bound=False
getkey('pid') is None