Skip to content

Ex 1 – Dedicated Operating Systems – INE5424 – UFSC

Exercise 1
Idle-waiting Thread Joining
– It have as an objective to change the method “join” of a Thread. It was implemented like this:

[code lang=”c”] while(_state != FINISHING)
yield();
[/code]

This method consist in verify the state of the Thread that is joined, if the state is different from FINISHING, it calls yield(). This solution cause an overhead, because it do this verification all the time that the process is Phased. We should implement a new function, that don`t cause this overhead.

Modified files:
thread.cc
Thread.h

EPOS with our solution.
Steps, and explanation about other solutions (PORTUGUESE)

8,305 Comments

  1. Beyler dinleyin Canlı destek yok, oranlar düşük, her şey çok kötüydü Ama sonunda bu siteyi keşfettim — 1xbet güncel adres tıkla Müşteri desteği 7/24 aktif Kısacası, kaydet kenarda dursun — 1xbet giriş 1xbet giriş Sakın sahte sitelere kanma Bahis yapan herkese yolla

  2. Liked the balance between depth and brevity, never too shallow and never too long, and a stop at clarityenablestraction kept the same balance going across the rest of the site, this is one of the harder skills in writing and the team here clearly has it figured out very well indeed across every page.

  3. If I were grading sites on this topic this one would receive high marks, and a stop at bondedvisions continued earning those high marks, the informal grading I do mentally for content sources is something I take seriously even though it is informal and this site has been receiving consistent high marks across multiple sessions today.

Leave a Reply

Your email address will not be published. Required fields are marked *