I would seriously consider the documentation for multiprocessing the Python library. From the first sentence of the package description:
multiprocessing is a package that supports spawning processes using an API similar to the threading module.
He then goes on to say that he is following the GIL steps, which is similar to what you are trying to avoid. See Their trivial setup example:
from multiprocessing import Process def f(name): print 'hello', name if __name__ == '__main__': p = Process(target=f, args=('bob',)) p.start() p.join()
This is a function call executed in another process, separate from the process you are in. Again, all this is from the documentation.
wheaties
source share