>>>>> "TS" == Tonu Samuel <tonu@stripped> writes:
TS> switches often or not. This is mostly decided by internally linux kernel
TS> and hardcoded to make not so often. This is pretty different from
TS> windows. So, even if we want, we can't do context switches often.
What about calling pthread_yield() at strategic points. This should
force the thread to give up its execution and a contect switch can
occur.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@stripped Rockville, MD +1-301-545-6996
PGP & MIME spoken here http://www.kciLink.com/home/khera/