Article View: borland.public.jbuilder.java.api
Article #1589Re: The affect of thread.interupt() ??
From: John Baker
Date: Tue, 11 Dec 2001 09:57
Date: Tue, 11 Dec 2001 09:57
4 lines
1173 bytes
1173 bytes
I'm not sure why you are not using the more usual method of Object.wait() and Object.notify() to do this kind of thing? When work appears you can interupt the blocked code this way. Read some good book on threading synchronization issues and it'll save you a lot of headaches...
Technical Details
Message-ID:
<3c15d527_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3bfbdd19$1_1@dnews> <3bfbe126$1_2@dnews> <3bfbe517$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,71862bc66236ba1d X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-12-11 01:50:50 PST From: "John Baker" <jbaker@SoftComms.com> Newsgroups: borland.public.jbuilder.java.api References: <3bfbdd19$1_1@dnews> <3bfbe126$1_2@dnews> <3bfbe517$1_1@dnews> Subject: Re: The affect of thread.interupt() ?? Date: Tue, 11 Dec 2001 09:57:37 -0000 Lines: 6 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 217.135.255.65 Message-ID: <3c15d527_2@dnews> X-Trace: dnews 1008063783 217.135.255.65 (11 Dec 2001 01:43:03 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews