하드웨어 스레드: 인텔의 hyper-threading: 물리적인 코어마다 하드웨어 스레드가 2개 각 코어마다 동시에 처리할 수 있는 명령어 단위 커널 스레드: 비슷한 용어: Native Thread, Kernel Thread, Kernel-level Thread, OS-level Thread OS 커널 레벨에서 생성되고 관리되는 스레드 OS Thread를 사용하고 관리하는 데에는 자원(메모리, CPU)이 많이 필요하다. 즉, 생성 및 유지 비용이 비싸다. CPU에서 실제로 실행되는 단위, CPU 스케줄링의 단위로 관리된다. OS 스레드의 Context Switching은 커널이 주도적으로 한다. 커널 스레드 개수는 OS 자체적으로 정해져 있다. User Thread: User-level Thread라고 불리기도 한다. 스레드 개념을 프로그래밍 레벨에서 추상화 한 것 Java에서 User Thread가 CPU에서 실행되려면, 반드시 OS-level Thread와 연결돼야 한다.
import java.nio.file.Paths
As seen in:
InfoWorld,
DEV Community,
The Code Project,
cnblogs.com,
CSDN,
Adevinta,
Developer.com,
51cto.com
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with import
Contact import, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack