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)

11,935 Comments

  1. DavidKeshy DavidKeshy

    В этой медицинской статье мы погрузимся в актуальные вопросы здравоохранения и лечения заболеваний. Читатели узнают о современных подходах, методах диагностики и новых открытий в научных исследованиях. Наша цель — донести важную информацию и повысить уровень осведомленности о здоровье.
    Запросить дополнительные данные – выводу из запоя в Санкт-Петербурге

  2. Really appreciate the absence of stock photos that have nothing to do with the content, and a quick visit to mythmarket maintained the same restraint, visual filler is a tell that the writing cannot stand on its own and the lack of it here suggests the team has confidence in their content quality alone.

  3. Considered against the flood of similar content this one stands apart in important ways, and a stop at packandpost extended that distinctive feel, sites that find their own corner of a crowded topic and stay there are sites worth following and this one has clearly carved out its own space and committed to defending it carefully.

  4. best online pokie canada, yusaon casino review and canada bingo sites, or
    australian top online casino

    Stop by my webpage: blackjack ace value 3 cards [Felix]

  5. Solid stuff, the kind of post that I will probably refer back to later this month when the topic comes up again, and a look at cottontrailartisanbazaar only confirmed I should bookmark the site as a whole rather than just this single page for future reference and use across coming weeks.

  6. Jamessumma Jamessumma

    Запой сопровождается обезвоживанием, нарушением сна, тревогой, тремором и нагрузкой на внутренние органы. При алкоголизме риск осложнений повышается, особенно если зависимость сохраняется много лет. Если человек пьет несколько дней, а попытки остановиться заканчиваются новым приемом алкоголя, необходима консультация нарколога. Врач определит, какое лечение безопасно и нужен ли вывод из запоя на дому.
    Получить больше информации – вывод из запоя круглосуточно

  7. FideltoT FideltoT

    Эта публикация содержит ценные советы и рекомендации по избавлению от зависимости. Мы обсуждаем различные стратегии, которые могут помочь в процессе выздоровления и важность обращения за помощью. Читатели смогут использовать полученные знания для улучшения своего состояния.
    Узнать напрямую – deltaclinic санкт петербург

  8. new no deposit casino canada, how to get free coins and spins in coin master
    game (Rich) to play online poker for money in canada and slot machines sale united states,
    or are there casinos in usa

  9. Danielencuh Danielencuh

    В этом исследовании рассмотрены методы лечения зависимостей и их эффективность. Мы проанализируем различные подходы, используемые в реабилитационных центрах, и представим данные о результативности программ. Читатели получат надежные и научно обоснованные сведения о данной проблеме.
    Как достичь результата? – наркологическая клиника Трезвый путь

Leave a Reply

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