Source code for libvis.helpers.threaded
import multiprocessing.dummy as thr
[docs]def threaded(f,*args, **kwargs):
p = thr.Process(target=(f),args = args, **kwargs)
p.start()
return p
import multiprocessing.dummy as thr
[docs]def threaded(f,*args, **kwargs):
p = thr.Process(target=(f),args = args, **kwargs)
p.start()
return p