Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16882
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail |
|---|---|
| From | "Roedy Green" <roedy.green@1:261/38.remove-x1c-this> |
| Subject | Re: Accessing a thread |
| Message-ID | <50182C82.55850.calajapr@time.synchro.net> (permalink) |
| X-Comment-To | Dirk Bruere at NeoPax |
| Newsgroups | comp.lang.java.programmer |
| In-Reply-To | <50181D60.55729.calajapr@time.synchro.net> |
| References | <50181D60.55729.calajapr@time.synchro.net> |
| X-FTN-AREA | COMP.LANG.JAVA.PROGRAMMER |
| X-FTN-MSGID | 1:261/38 c539b02c |
| X-FTN-REPLY | 1:261/38 6844ffa5 |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] |
| Lines | 43 |
| Date | Tue, 31 Jul 2012 20:07:07 GMT |
| NNTP-Posting-Host | 69.21.70.65 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1343765227 69.21.70.65 (Tue, 31 Jul 2012 15:07:07 CDT) |
| NNTP-Posting-Date | Tue, 31 Jul 2012 15:07:07 CDT |
| Organization | tds.net |
| Xref | csiph.com comp.lang.java.programmer:16882 |
Show key headers only | View raw
To: Dirk Bruere at NeoPax From: "Roedy Green" <roedy.green@1:261/38.remove-dpk-this> To: Dirk Bruere at NeoPax From: Roedy Green <see_website@mindprod.com.invalid> On Mon, 30 Jul 2012 10:54:25 +0100, Dirk Bruere at NeoPax <dirk.bruere@gmail.com> wrote, quoted or indirectly quoted someone who said : >How do I access the thread lanSendThread from another class in another file? // execute InParallel.run() // in parallel to this thread on a new thread. Thread t = new Thread ( new InParallel() ); // Note we call t.start(), not t.run() // t.run() would just call run in the ordinary way. // Get reference to the thread running this // code right now. Thread runningNow = Thread.currentThread(); Keep in mind a thread is busy running its own code. Pretty well anything you run on that thread is going to be highly disruptive. -- Roedy Green Canadian Mind Products http://mindprod.com The greatest shortcoming of the human race is our inability to understand the exponential function. ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89) http://www.youtube.com/watch?v=F-QA2rkpBSY -+- BBBS/Li6 v4.10 Dada-1 + Origin: Prism bbs (1:261/38) -+- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24 --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Accessing a thread "Dirk Bruere at NeoPax" <dirk.bruere.at.neopax@1:261/38.remove-dpk-this> - 2012-07-31 18:02 +0000
Re: Accessing a thread "Eric Sosman" <eric.sosman@1:261/38.remove-dpk-this> - 2012-07-31 18:02 +0000
Re: Accessing a thread "Dirk Bruere at NeoPax" <dirk.bruere.at.neopax@1:261/38.remove-dpk-this> - 2012-07-31 18:02 +0000
Re: Accessing a thread "Roedy Green" <roedy.green@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
Re: Accessing a thread Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2012-08-03 16:52 +0100
Re: Accessing a thread markspace <-@.> - 2012-08-03 10:07 -0700
csiph-web