From owner-freebsd-hackers Wed Feb 25 16:11:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA04184 for freebsd-hackers-outgoing; Wed, 25 Feb 1998 16:11:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA04098 for ; Wed, 25 Feb 1998 16:11:32 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA12546; Wed, 25 Feb 1998 17:11:18 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA21527; Wed, 25 Feb 1998 17:11:17 -0700 Date: Wed, 25 Feb 1998 17:11:17 -0700 Message-Id: <199802260011.RAA21527@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Alfred Perlstein" Cc: "Terry Lambert" , , Subject: Re: so how goes java? In-Reply-To: <02f901bd424a$33dd5bc0$0600a8c0@win95.local.sunyit.edu> References: <02f901bd424a$33dd5bc0$0600a8c0@win95.local.sunyit.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ok, so what do I need to do to get a situation where the threads would > alternate printing "i'm thread A" and "i'm thread B" when they are just busy > looping? Create your own scheduling thread that has a higher-priority than threads A and B. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message