Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- python3
- Vertex AI
- 디자인 패턴
- session 미종료
- DeepLearing.AI
- Transductive Learning
- 생성 모델
- 연역
- 대칭키
- Inductive Learning
- Google Cloud
- public key
- Grad-CAM
- 귀납
- PSNR
- mode collapse
- ChatGPT
- cam
- posterior collapse
- GCP
- url
- uri
- Design Patterns
- deepseek
- 생성 모델 평가
- ARIMA
- SSIM
- tmux
- prompt engineering
Archives
- Today
- Total
데이터 과학 노트
Process vs. Thread (프로세스와 스레드 차이) 본문
Computer Science/Operating Systems
Process vs. Thread (프로세스와 스레드 차이)
Data Scientist Note 2023. 3. 20. 03:48프로그램 (Program)
- 어떤 작업을 위해 실행할 수 있는 파일
프로세스 (Process)
- 프로세스: 실행 중인 프로그램
- 할당받는 자원
- CPU 시간
스레드 (Thread)
- 스레드: 프로세스 내에서 실행되는 흐름의 단위
- 할당받는 자원
- 스레드는 각각 Stack, Register 할당, (Code, Data, Heap 공유)
메모리 구조
- Code (Text):
- Data: 지역 변수, 매개 변수 (static)
- Data: 초기화된 정적 변수
- BSS (block started by symbol): 초기화되지 않은 정적 변수
- Heap: 사용자 할당 동적 변수 (malloc)
- Stack: non-static local variables