• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is thread?  RSS feed

 
jacob deiter
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is meant thread?,I read many article it says that running program concurrently ,sharing same address and data.If many thread using same address means it wont override ?.Please explain in depth
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read this: Concurrency Tutorial?
 
jacob deiter
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the threads use same address space of a process means ??
 
J Flew
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A program or application usually runs as one process. Within that process there can be multiple threads running, that share the processes memory resources. It basically allows applciations to more efficiently handle doing multiplpe tasks at once.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!