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

A simple program of Threads  RSS feed

 
khentallah safdar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since i have Threads, till yet i am not able to understand the code of it. give a simple example with explaination of Threads. that i can easily understand the basics of threads....
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Khentallah,
Have you not read the "Threads" lesson in the "Java Tutorial"?
http://java.sun.com/docs/books/tutorial/essential/threads/index.html
Was it not clear enough for you?
Bruce Eckel's book "Thinking in Java" has a chapter on threads. It is available for download from:
http://www.mindview.net/Books/TIJ/
[I am assuming that you haven't read it.]
The "Safari" online library
http://safari.informit.com
have several books on java thread programming, including:
http://safari.informit.com/?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-201-31009-0&open=true&catid=prog.java&s=1&b=1&f=1&t=1&c=1&u=1&page=1
and
http://safari.informit.com/?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-672-31585-8&open=true&catid=prog.java&s=1&b=1&f=1&t=1&c=1&u=1&page=6
and
http://safari.informit.com/?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=1-56592-418-5&open=true&catid=prog.java&s=1&b=1&f=1&t=1&c=1&u=1&page=6
[Again, I assume you haven't read them.]
The "JavaWorld" online magazine also has many articles on threads, including several by Jeff Friesen:
http://www.javaworld.com/javaworld/jw-05-2002/jw-0503-java101.html
[Same assumption here, too!]
And another online tutorial about threads (in java):
http://home.att.net/~baldwin.dick/Intro/Java058.htm
Hope this helps you.
Good Luck,
Avi.
 
William Barnes
Ranch Hand
Posts: 1046
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book Java Threads for $4! Now how can you beat a deal like that? I bought my copy yesterday.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Threads forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!