Mailing List Archive

if threads != processes:
I chose to make my current project multi-threaded rather than forking
for two reasons: speed of context-switches and shared memory. The
memory part is working out great. The Queue class seems to be suiting
me just fine. However, I've noticed that every thread that gets
spawned off is assigned its own process id. Is this truly less
expensive than forking? And those processes seem to stick around even
after the target function returns...am I doing something wrong?
Thanks for any input.