I am aware this is a Django forum not python. But many python experts
are on this forum, so I though I would ask.
When would you use Python (2.6) threading module or multiprocessing
module?
It seems in general python multiprocessing module should be preferred
over threading because of GIL unless threads need to share data.
Though both API being similar the switch from coding perspective is
trivial.
( it is kind of opposite in Java.)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment