Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(13) In the three following situations explain which model we should use: (a) user-level threading (b) kernel-level threading (c) hybrid-threading (d) no-threading (i.e. single-threaded application)

image text in transcribed

(13) In the three following situations explain which model we should use: (a) user-level threading (b) kernel-level threading (c) hybrid-threading (d) no-threading (i.e. single-threaded application) Explain clearly what the advantages are to the choices you have made, or why the other options are not viable. While making your decision consider things like the amount/type of I/O your application requires. (a) You are writing an application for an operating system (that support thread- ing). The application needs to continuously and simultaneously fetch infor- mation over a network connection, accept input from the user, and format the display to the user. (b) You are writing an application for a single-threaded operating system (i.e. the OS does not support threading). The application waits for a packet of internet information, and then processes the information. The packets come once an hour, and processing takes onlv a few minutes. (c) You are writing an application to monitor a realtime system (i.e. a manufac- turing floor). The OS supports threads but not 'real-time' threads (the o.s. has no way to fulfill specific timing requests). The application needs to contin uously monitor aspects of the real-time system it is monitoring with specific requirements as to the timing. (i.e. every 5 seconds check the heat gauge). If there are N aspects of the real-time system that need to be monitored, each 'check' of that aspect may call a blocking system call

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago