🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: newbie: Threads

#7435
From: Joi Ellis [TeamB]
Date: Sat, 23 Jun 2001 05:15
21 lines
1654 bytes
dnoyeB <lamont_gilbert @ rigidsoftware.com> wrote:
> ARe you sure?  Without testing, I would assume you could because you are
> calling start on an object, not a thread.  It should if my thinnking is
> correct, simply create a new thread and assign it to that object.

> If you object is properly defined to extend Thread, then start is not just a
> method, but actually should "create" a thread for the object, right?

No.  Start causes a thread object to enter the running state.  It does
not create the thread object.

Creating thread objects uses the Thread constructor method, just like
all other objects.



-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <3b3425d9_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail
References: <3b33083e_2@dnews> <3b3367e4$1_2@dnews> <3b342119_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,16d666d905e9f60d
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-22 22:21:52 PST
Message-ID: <3b3425d9_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: newbie: Threads
Newsgroups: borland.public.jbuilder.java.language
References: <3b33083e_2@dnews> <3b3367e4$1_2@dnews> <3b342119_2@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 22 Jun 2001 22:15:05 -0700
X-Trace: dnews 993273305 209.46.41.66 (22 Jun 2001 22:15:05 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail