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)

10,758 Comments

  1. Bryanerumn Bryanerumn

    Частная наркологическая клиника работает с жителями Москвы и Московской области. Обратиться можно самостоятельно или для близкого человека, когда семье трудно понять, что делать и как уговорить зависимого принять помощь. Круглосуточная служба принимает звонок в любое время, консультант уточняет ситуацию и объясняет, как получить консультацию, вызвать нарколога на дому, заказать выезд бригады или приехать в центр. Если необходима госпитализация, специалисты помогают организовать поступление в стационарных условиях без лишней огласки.
    Подробнее – http://narkologicheskaya-klinika-moskva15-4.ru/

  2. Appreciate the thoughtful approach, the writer clearly took time to make this readable for someone who is not already an expert, and a look at bloomtill kept that going nicely, easy on the eyes and easy on the brain which is always a winning combination when reading on a busy day.

  3. Felt this in a way I cannot quite explain, the topic just hit different here, and a stop at nightaislemarket continued in that vein, sometimes you find a site whose perspective lines up with how you have been thinking and reading their work feels like a small relief which I appreciated more than I expected.

  4. Came across this through a roundabout path and now it is on my regular rotation, and a stop at brookbundle sealed that decision, the open web still produces serendipitous discoveries when you let the citations and references guide you rather than relying purely on algorithmic feeds for new content recommendations always.

  5. Чтобы у пациента и близких не возникал вопрос «что дальше», мы используем карту первых часов. Она задаёт цели, действия, контроль и критерии перехода между этапами. Такой подход экономит минуты и исключает импровизации «ради уверенности».
    Получить дополнительную информацию – срочный вывод из запоя

Leave a Reply

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