Date: Tue, 28 Dec 1999 14:18:47 -0800 (PST) From: Kip Macy <kip@lyris.com> To: Steffen Merkel <d_f0rce@gmx.de> Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel threads Message-ID: <Pine.SOL.4.05.9912281410160.3860-100000@luna.lyris.com> In-Reply-To: <002c01bf5118$84e701e0$0201a8c0@blade>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.05.9912281410160.3860-100000>