Discuss about the kernel-level thread

Assignment Help Computer Engineering
Reference no: EM132496209

Assignment: You will implement a simplified version of many-to-one user level threads in the form of a library called Simple Threads.

In the many-to-one model for user level threads, all threads execute on the same kernel thread. As there is only one kernel-level thread associated with the process (the process containing threads is represented by a single context within the kernel), only one user-level thread may run at a time.

The thread manager you will include a preemptive round-robin scheduler. If a thread does not yield during its time-slice, it will be preempted and one of the other ready threads will be resumed. The preempted and resumed threads should change state accordingly.

Note: You will NOT use pthreads in your implementation. The intent is to create similar functionality entirely in a user-space program.

You will implement thread synchronization and demonstrate that it works as expected. Implement the equivalent of mutex lock, mutex unlock, and join in your user threads (additional functions may be needed to complete these components; use your best judgement). You may use semaphores from semaphore.h, but NOT use the pthread library functions.

What to Turn In

A .tgz of your solution files. Design and usage notes should be included in a design.txt, also to be turned in via the .tgz archive. Design.txt should clearly state how and what you've done to convince yourself that your code works.

Reference no: EM132496209

Questions Cloud

Determine the number of common shares outstanding : Determine the number of common shares outstanding and the par value after the split. (Round par value answer to 2 decimal places.)
Experimental design for intended study : Experimental design for intended study and approach to statistical analysis - discussion of the proposed problem or issue which your inquiry is intended
Find transactions will decrease the current ratio : At the end of year 10, Brave Corporation has a current ratio of 2:1. Which of the following transactions will decrease the current ratio?
Theoretical model of explaining substance : Base on these models, which theoretical model of explaining substance use do you feel is correct and why?
Discuss about the kernel-level thread : In the many-to-one model for user level threads, all threads execute on the same kernel thread. As there is only one kernel-level thread associated with.
Record the two events in general journal format : Record the two events in general journal format.(If no entry is required for a transaction/event, select "No journal entry required" in the first account field.
What are two ways this would differ from a therapist : What would therapy with a modern psychoanalyst likely look like? What are two ways this would differ from a therapist who practices traditional psychoanalysis?
Compute the expected dividend for the second year : Compute the expected dividend for the second year. (Round answer to 2 decimal places). Compute the expected dividend for the third year.
Nature and nurture related to restored visual perception : How does Nature and Nurture Related to Restored Visual Perception? both nature and nurture

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd