On Jan 4, 4:59 am, Bryan Olson <fakeaddr...@nowhere.org> wrote: > 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
Thank you very much. I was worried about this a lot. -- http://mail.python.org/mailman/listinfo/python-list