I have already studied and gone about what is a cpu thread in this forum post only ,but still I am not yet clear with the overall visualization and picture of what the thread actually is?
Also the term THREAD POOL is quite confusing ,so please can someone make me visualize the picture of thread,is it some signal ,some instruction ,what is it and actually when people talk about the fact that the OS selects a particular thread for execution from the thread pool ,then what is this pool actually and where is it present?
Actually the term "THREAD POOL", its still quite confusing.
Also ,when such statements are made like "OS PICKS UP A THREAD FROM THE THREAD POOL ", this statement is highly confusing ,What is the meaning of this and how actually an instruction can be picked up ,It is usually said in JAVA wherein JVM selects the native threads for execution.
I have referred the stackexchange answer posted regarding what is a thread pool and it stated it to be a container ,so when we say that a thread is an instruction ,then how come a container contains pre-instantiated instructions.
Also the term THREAD POOL is quite confusing ,so please can someone make me visualize the picture of thread,is it some signal ,some instruction ,what is it and actually when people talk about the fact that the OS selects a particular thread for execution from the thread pool ,then what is this pool actually and where is it present?
Actually the term "THREAD POOL", its still quite confusing.
Also ,when such statements are made like "OS PICKS UP A THREAD FROM THE THREAD POOL ", this statement is highly confusing ,What is the meaning of this and how actually an instruction can be picked up ,It is usually said in JAVA wherein JVM selects the native threads for execution.
I have referred the stackexchange answer posted regarding what is a thread pool and it stated it to be a container ,so when we say that a thread is an instruction ,then how come a container contains pre-instantiated instructions.