[전남대]운영체제과제
- 최초 등록일
- 2018.08.10
- 최종 저작일
- 2016.03
- 5페이지/ 한컴오피스
- 가격 1,000원
목차
1. Which of the following components of program state are shared across threads in a multithreaded process?
2. Can a multithreaded solution using multiple user-level threads achieve better performance on a multiprocessor system than on a single processor system? Explain.
3. Is it possible to have concurrency but not parallelism? Explain.
4. Consider the following code segment:
5. Describe what the one-to-one model of thread implementation is, and explain its advantages and disadvantages
6. Describe the possible output of the following code segment.
본문내용
1. Which of the following components of program state are shared across threads in a multithreaded process?
a. Register values
b. Heap memory
c. Global variables
d. Stack memory
각 쓰레드들은 각자 register values와 stack memory, program counter를 가지고 있고 나머지 메모리, 코드, 파일등을 공유한다.
2. Can a multithreaded solution using multiple user-level threads achieve better performance on a multiprocessor system than on a single processor system? Explain.
운영체제는 하나의 프로세스에 대해 개별프로세스의 다른 스레드를 예약 할 것이다. 따라서 다중 처리기 상의 다수 사용자 수준 스레디의 실행은 별다른 이점이 없다.
참고 자료
없음