• Post Reply Bookmark Topic Watch Topic
  • New Topic

One Thread Managing Two Threads  RSS feed

 
adiyta tvameka
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I have a doubt, can we write a superclass thread which controls and manages two threads? can i implement synchornisation in that ? Can i implement Thread in sockets like reading from a socket and writing to a socket ? Please provide me examples and tutorials.

Thanks
Adi
[ July 21, 2006: Message edited by: adiyta tvameka ]
 
Henry Wong
author
Sheriff
Posts: 22853
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Sun Java Thread Tutorial is a good place to start learning threads.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!