The Python multiprocessing module has nothing to do with threads. It tries to provide an API similar to threading (which calls threads), with processes under it.
Python threads map to OS threads, and if you create more threads than kernels, the same thing happens as if you were doing it in C ( pthreads , Win API threads, etc.) - the OS manipulates threads between cores.
There's a lot of information on the Internet about Python threads, just Google.
source share