koranth...@gmail.com wrote:
I am creating an application and it creates ~1-2 threads every second
and kill it within 10 seconds. After reading this I am worried. Is
creating a thread a very costly operation?

Compared to a procedure call it's expensive, but a couple threads per second is insignificant. My out-dated Pentium 4 desktop can create and destroy a few thousand threads per second under WinXP; more under recent Linux.


--
--Bryan
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to