From owner-freebsd-hackers Thu Feb 26 21:16:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20079 for freebsd-hackers-outgoing; Thu, 26 Feb 1998 21:16:29 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20036 for ; Thu, 26 Feb 1998 21:16:21 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id VAA17691; Thu, 26 Feb 1998 21:15:50 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017683; Thu Feb 26 21:15:32 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id VAA28538; Thu, 26 Feb 1998 21:15:32 -0800 (PST) From: Archie Cobbs Message-Id: <199802270515.VAA28538@bubba.whistle.com> Subject: Re: so how goes java? In-Reply-To: <87u39mrw2k.fsf@phaedrus.uchicago.edu> from stephen farrell at "Feb 26, 98 01:43:31 pm" To: stephen@farrell.org (stephen farrell) Date: Thu, 26 Feb 1998 21:15:31 -0800 (PST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG stephen farrell writes: > "Alfred Perlstein" writes: > > 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? > > I'm assuming you're still talking about java... if so, then the > o'reilly java threads book covers many of these issues rather > effectively... setting up a high-priority scheduler thread, as nate > suggested, is covered in there. in fact, you might find such examples > from the book at the ora website. FYI- freebsd-java@freebsd.org is more likely to have the right experts listening. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message