🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8490

Re: OS differences when running Threads

#8490
From: John McGrath TeamB
Date: Sat, 17 Mar 2001 07:43
24 lines
1564 bytes
On 16 Mar 2001 16:16:18 -0800, Tim wrote:

> I've encountered some peculiar differences between running
> multithreaded programs under NT 4.0 and running the same
> programs under Win2K.
    :
> Any insight or enlightenment would be appreciated.

Java makes no guarantees on how multiple threads of the same priority 
will be scheduled.  Different operating systems may implement threading 
differently, and many things such as I/O buffer sizes can affect the 
way that the threads are scheduled.

If you want to guarantee some specific scheduling behavior, you have to 
write the code to enforce that behavior.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.151cdbb0f6d9ed6998a085@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!hermes.visi.com!news-out.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!209.92.40.60
References: <3ab2acd2$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e43448a2cc117603
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-16 23:46:07 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: OS differences when running Threads
Date: Sat, 17 Mar 2001 02:43:04 -0500
Message-ID: <MPG.151cdbb0f6d9ed6998a085@forums.borland.com>
References: <3ab2acd2$1_1@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: 16 Mar 2001 23:38:52 -0800, 209.92.40.60
Lines: 24
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!hermes.visi.com!news-out.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!209.92.40.60