Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3391
| From | "Lew" <lew@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Instant Chat System f |
| Message-ID | <S6-dnXX8csJa5ZjVnZ2dnUVZ_oPinZ2d@comcast.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <4804c267$0$32049$da0feed9@news.zen.co.uk> |
| Date | 2011-04-27 15:44 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
RedGrittyBrick wrote:
> The method is Thread() and the procedure to create 1000 of them is
That's not a method, that's a constructor.
> Thread[] threads = new Thread[1000]
> for (int i = 0; i < threads.length; i++) {
> threads[i] = new Thread();
> threads[i].start();
> }
> // ;-)
>
> http://java.sun.com/docs/books/tutorial/essential/concurrency/
> http://www.google.com/search?q=chat+server
--
Lew
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Instant Chat System f "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
Re: Instant Chat System f "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
Re: Instant Chat System f "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
csiph-web