Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

asynchronous thread  RSS feed

 
Costa Lamona
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22840
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!