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)

7,506 Comments

  1. Всем привет из НН. Беда пришла. Соседи уже начали коситься. В диспансер тащить — клеймо на всю жизнь. Короче, единственные, кто приехал без вопросов — вывод из запоя на дому срочно. Сняли абстинентный синдром. В общем, вся инфа и контакты по ссылке — выведение из запоя выведение из запоя Не тяните время. Киньте ссылку нуждающимся.

  2. Marvinfoors Marvinfoors

    Нарколог на дом в Казани — это срочная медицинская помощь пациенту при запое, похмелья, интоксикации, абстинентного синдрома, наркотической ломки и других ситуациях, когда человеку сложно самостоятельно обратиться в клинику. Врач приезжает на дом, проводит осмотр, диагностику состояния, подбирает препараты, ставит капельница и дает рекомендации по дальнейшему лечению зависимости.
    Узнать больше – https://narkolog-na-dom-kazan24.ru/

  3. Reading this gave me a small mental break from the heavier reading I had been doing, and a stop at coppercovemerchantgallery extended that lighter feel, content that provides relief without becoming trivial is harder to produce than people realise and this site has clearly figured out how to be light without being shallow at all.

Leave a Reply

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