Open Source Development Tutorials | About Us
Search  

Go Back   Open Source Tutorials Forum > Tutorials And Articles > Server Side Coding Tutorials
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-19-2003, 07:06 AM
md_doc md_doc is offline
ubergeek
 
Join Date: Oct 2003
Posts: 266 md_doc has disabled reputation
Default Writing Multithreaded Java Applications

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
Reply With Quote
  #2  
Old 07-28-2008, 07:01 AM
Lamer980's Avatar
Lamer980 Lamer980 is offline
Junior Member
 
Join Date: Jul 2008
Location: sri lanka
Posts: 5 Lamer980 is on a distinguished road
Default

khm....Nice information dear! thanks! very kind of you!
__________________
Link Building Packages
Reply With Quote
  #3  
Old 08-25-2008, 03:28 AM
FredrickGeofry FredrickGeofry is offline
Junior Member
 
Join Date: Aug 2008
Posts: 3 FredrickGeofry is on a distinguished road
Thumbs up

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.
Reply With Quote
  #4  
Old 08-26-2008, 10:40 PM
limeu's Avatar
limeu limeu is offline
Junior Member
 
Join Date: Aug 2008
Location: Chicago
Posts: 3 limeu is on a distinguished road
Thumbs up

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.
__________________
Comparative Rater | SEO Agent
Reply With Quote
  #5  
Old 08-27-2008, 05:08 AM
Gabri Gabri is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2 Gabri is on a distinguished road
Default

very good info. Thanks!
Reply With Quote
  #6  
Old 09-09-2008, 12:37 AM
Abigail Abigail is offline
Junior Member
 
Join Date: Sep 2008
Posts: 7 Abigail is on a distinguished road
Default

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
Reply With Quote
  #7  
Old 09-09-2008, 11:35 AM
TheChecker TheChecker is offline
Junior Member
 
Join Date: Sep 2008
Posts: 2 TheChecker is on a distinguished road
Default

Great post thanks! I have always wondering how Cooperative threading worked, and whether it really did consume your CPU... Now I know!
__________________
Car Lease | Office Chair
Reply With Quote
  #8  
Old 09-23-2008, 04:17 PM
rockalove rockalove is offline
Junior Member
 
Join Date: Sep 2008
Posts: 2 rockalove is on a distinguished road
Default

Thanks for the post. Very helpful, keep them coming

Best online dating
Reply With Quote
  #9  
Old 10-07-2008, 01:28 PM
alsa alsa is offline
Junior Member
 
Join Date: Oct 2008
Posts: 4 alsa is on a distinguished road
Default

thanks a lot for the links!
Reply With Quote
  #10  
Old 10-21-2008, 03:50 AM
DominicXavier DominicXavier is offline
Junior Member
 
Join Date: Oct 2008
Location: Los Angeles, CA
Posts: 3 DominicXavier is on a distinguished road
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 08:41 AM.


Powered by: vBulletin Version 3.0.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2004 - 2006 GrindingGears.com. All Rights Reserved.