aspose file tools
The moose likes Threads and Synchronization and the fly likes asynchronous thread Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "asynchronous thread" Watch "asynchronous thread" New topic
Author

asynchronous thread

Costa Lamona
Greenhorn

Joined: Sep 17, 2006
Posts: 29
Hi

I am confused about asynchronous threading concept. If the synchronous thread is like a line which is divided at certain point to two lines of excution
say a main and Thread-1.

Then asynchronous thread will be like the above but Thread-1 line end is attached to the main thread line, i.e. it looks like a line and a circle on it.

if that is correct, How that affects the call stack, does asynchronous thread is having its own stack?

what is asynchronous thread definition? and why I would use one, I guess it is a way to implement Producer-Consumer in synchronous threading.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16690
    
  19

You might want to consider starting here....

http://java.sun.com/docs/books/tutorial/essential/concurrency/

You have some misconceptions (or some teminology) about threads that you need to unlearn first.

Henry
[ July 20, 2008: Message edited by: Henry Wong ]

Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: asynchronous thread
 
Similar Threads
stop synchronous web service call
JMS - rollback but no redelivery
Synchronous and Asynchronous ???
Swing Threading
What type of call is Class instantiation in a Sequence Diagram?