> > They may be preemptive, but I saw a lot of instances with Lyris where one
> > thread could easily monopolize processor time at the expense of all
> > others and I had to add sleeps in at places.
>
> Does this mean I've got to add sleeps in my threads to let other threads get
> cpu time? Is there no other possibility?
>
No, I was not correct. It turns out the behaviour I was observing was due
to the use of SIGVTALARM which does not take system call time into
acccount. They are now using SIGPROF which does. Sorry about the
confusion.
-Kip
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message