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

  1. Picked up a couple of new ideas here that I can actually try out, and after my visit to clickpathway I have even more notes saved, this is the kind of resource that pays you back for the time you spend on it which is rare to come across in this corner of the web.

  2. Reading this confirmed a small detail I had been uncertain about, and a stop at ashenwillowstore provided the source for further checking, content that supports verification through citations or links rather than just asserting facts is more trustworthy and this site has clearly built its credibility through that kind of verifiable approach consistently.

  3. Compared to the usual results for this kind of search this site stands well above the average, and a quick visit to signaltoaction kept the standard high, you can tell within seconds whether a site is going to waste your time or actually deliver and this one clearly delivers without any false starts.

  4. Now wishing I had found this site sooner, and a look at reliantbond extended that mild regret, the calculation of how many years of good content I missed by not finding the right sources earlier is one I try not to make too often but it does come up sometimes when I find sites this good.

  5. Highly recommend to anyone looking for a sensible take on this topic without the usual marketing nonsense, and a look at trustpillarhub kept that grounded approach going, sites that stay focused on serving readers rather than monetising every click are rare and this is clearly one of those rare ones I really appreciate finding.

  6. Reading this in the time it took to drink half a cup of coffee, and a stop at reliantbond fit naturally into the second half, content that respects the rhythms of a typical morning is content with practical fit and this site has the kind of length and pacing that works for the way I actually read.

  7. Sheldonmen Sheldonmen

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

Leave a Reply

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