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,156 Comments

  1. ShawnFoemo ShawnFoemo

    после вашего обращения наш врач приезжает по указанному адресу с медработниками в гражданской форме и на машине без опознавательных символов, проводит осмотр, собирает историю болезни (анамнез).
    Углубиться в тему – помощь вывод из запоя в сочи

  2. Now organising my browser bookmarks to give this site easier access, and a look at directionalintelligence earned the same organisational priority, the small acts of digital housekeeping I do for sites I expect to use often are themselves a measure of trust and this site has triggered the trust based housekeeping behaviour from me clearly.

  3. Felt like I was reading something written by someone who actually thinks about the topic rather than reciting it, and a look at kilzavo reinforced that impression, the difference between recited content and considered content is huge and this site clearly belongs to the latter category which I appreciate as a careful reader looking for substance.

  4. Glad to have another reliable bookmark for this topic, and a look at realmmercy suggested several more pages I will be marking too, building a personal library of trustworthy resources is one of the actual rewards of careful browsing and this site is earning a place on my permanent shortlist for the topic.

  5. Слушайте кто ищет школу Двойки, замечания, учителя орут Качество знаний никакое Короче, единственная школа где кайфово учиться — школа онлайн с аттестатом Ребёнок занимается дома без нервов В общем, смотрите сами по ссылке — интернет школа дистанционное обучение https://shkola-onlajn-dyk.ru Не мучайте детей Перешлите другим родителям

Leave a Reply

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