TAILIEUCHUNG - Lecture Operating system principles - Chapter 4: Threads

This chapter examines some more advanced concepts related to process management, which are found in a number of contemporary operating systems. We show that the concept of process is more complex and subtle than presented so far and in fact embodies two separate and potentially independent concepts: one relating to resource ownership and another relating to execution. | Chapter 4 Threads Threads: Resource ownership and execution Processes and Threads Processes have two characteristics: Resource ownership – a process includes an address space to hold the process image and may be allocated control or ownership of resources Scheduling/execution – process execution follows an execution path that may be interleaved with other processes These two characteristics are treated independently by the operating system Processes and Threads The unit of dispatching is referred to as a thread or lightweight process The unit of resource ownership is referred to as a process or task Multithreading The ability of an OS to support multiple, concurrent paths of execution within a single process. Single Thread Approaches MS-DOS supports a single user process and a single thread Some UNIX, support multiple user processes but only support one thread per process Multithreading Java run-time environment is a single process with multiple threads Multiple .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.