|
#1
|
|||
|
|||
|
The Java Thread API allows programmers to write applications that can take advantage of multiple processors and perform background tasks while still retaining the interactive feel that users require. Alex Roetter introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems. Read Writing Multithreaded Java Applications here
__________________
md |
|
#2
|
||||
|
||||
|
khm....Nice information dear! thanks! very kind of you!
__________________
Link Building Packages |
|
#3
|
|||
|
|||
|
Nice gateway introduced by you people, i was thinking somedays ago that either this will work or not and then i found your thread, really informative material.
|
|
#4
|
||||
|
||||
|
mc_doc this is the 2nd article I found on this great forum that is absolutely stunning. Not sure how this fine article slipped my searches before
Thank You, Lime U. |
|
#5
|
|||
|
|||
|
very good info. Thanks!
|
|
#6
|
|||
|
|||
|
A thread is a thread of execution in a program. The Java Virtual Machine allows an application to have multiple threads of execution running concurrently.
class PrimeThread extends Thread { long minPrime; PrimeThread(long minPrime) { this.minPrime = minPrime; } public void run() { // compute primes larger than minPrime . . . } } The following code would then create a thread and start it running: PrimeRun p = new PrimeRun(143); new Thread(p).start();
__________________
Internet Phone |
|
#7
|
|||
|
|||
|
Great post thanks! I have always wondering how Cooperative threading worked, and whether it really did consume your CPU... Now I know!
|
|
#8
|
|||
|
|||
|
|
|
#9
|
|||
|
|||
|
thanks a lot for the links!
__________________
Prepress and Wide Format Printing |
|
#10
|
|||
|
|||
|
You have provided a great value added resource for the users who really wants to implement multi-threaded based Java applications in their projects. Thanks for sharing it here!
![]()
__________________
Online Sporting Goods Store |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|