2023 You will implement a simplified version of many to one user level threads in | Assignment Collections
Computer Science 2023 Paper
2023 You will implement a simplified version of many to one user level threads in | Assignment Collections
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.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.