software threads vs hardware threads

前端 未结 4 606
一向
一向 2020-12-12 12:32

What is the difference between software threads, hardware threads and java threads?

Are software threads, java threads and hardware threads independent or interdepen

4条回答
  •  被撕碎了的回忆
    2020-12-12 13:06

    I think you are mistaken. I never heard about hardware threads (unless you mean hyper threading on certain intel machines). Every process is a running representation of a program. Threads are simultaneous execution flows with in a process. Java thread definitions are mapped to system threads by JVM. Java used to have a concept of GreenThreads, which is no longer the case.

提交回复
热议问题