[707] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Delay in starting the threads.

daemon@ATHENA.MIT.EDU (Sushmala Yarramreddy)
Tue Aug 19 14:15:03 1997

To: pthreads@MIT.EDU
Cc: ysr@cise.ufl.edu
Date: Tue, 19 Aug 1997 12:56:55 -0400
From: Sushmala Yarramreddy <ysr@cise.ufl.edu>

Hi,

I'm using the pthreads-1_60_beta6 on FreeBSD. 2.2.
I have written an application in which I create around 200 threads.
The thread creation is fine, but initially only the main thread runs. It takes
a while for the child threads to get started, around nearly a minute.
After it enters the child thread atleast once, the switching between the
main thread and the child threads is fast.
I have not done any scheduling now. Is there any way by which I could improve
on these timings?? 

Please reply as soon as possible.
Thanks,
sushma.




home help back first fref pref prev next nref lref last post