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)

5,307 Comments

  1. Found the use of subheadings really helpful for scanning back through the post later, and a stop at startbuildingmomentumpath kept that reader friendly approach going, navigation is something many blog writers ignore but small structural choices make a noticeable difference for someone returning to find a specific point again days or weeks later.

  2. Most of my reading time goes to a small number of trusted sources and this one is now joining that group, and a stop at growresultsdrivenpath reinforced the group membership, the few sites that earn a place in my regular rotation are sites I expect ongoing returns from and this one has earned that elevated position consistently.

  3. Top quality material, deserves more attention than it probably gets, and a look at findnewopportunitydirections reflected the same effort across the site, a hidden gem in the modern web where most attention goes to whoever shouts loudest rather than whoever actually delivers the best content for their readers without much marketing fanfare.

  4. Skipped to a specific section because I knew that was the question I had, and the answer was clean, and a stop at findyourcoremomentum similarly delivered targeted answers without burying them, content engineered for readers who arrive with specific needs rather than open ended browsing is increasingly valuable in a search heavy reading environment.

  5. After several visits I am now confident this site is one to follow seriously, and a stop at directioncreatesenergy reinforced that confidence, the gradual building of trust through repeated quality exposures is the only sustainable way to develop reader loyalty and this site is building that loyalty in me through patient consistent work consistently.

  6. Honest take is that I will probably forget most of what I read online today but this post is one I will remember, and a stop at learnandprogressconsistently kept that same memorable quality going, certain writing leaves a residue in the mind in a way most content simply does not manage.

  7. Reading this post made me realise I had been settling for lower quality elsewhere, and a look at startnextleveldirectionfast extended that recalibration, content that exposes how much I had been accepting in adjacent sources is content with calibrating effect on my standards and this site is performing that calibration function across topics for me reliably.

Leave a Reply

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