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

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

  2. Worth every minute of the time spent reading, and a stop at easydigitalretail extends that value across more pages, in a media environment where most content is engineered to waste attention this site stands out by treating reader time as something valuable rather than something to be exploited and stretched as far as possible.

  3. A memorable post for me on a topic I had thought I was tired of, and a look at discovernewdirections suggested the same site can refresh other tired topics, sites that can revive my interest in subjects I had written off as exhausted are doing rare work and this one is clearly doing that for me today.

  4. Polished and informative without feeling overproduced, that is the sweet spot, and a look at learnfromexpertinsights hit it again, you can tell when a site has been built with care versus thrown together for the sake of having something to put online and this is clearly the former approach taken by the team.

  5. A piece that demonstrated competence without performing it, and a look at digitalbuyingexperience maintained the same self assured but unshowy register, the gap between competence and performance of competence is one I track and this site has clearly chosen to demonstrate rather than perform which I find much more persuasive as a reader.

  6. Now planning to recommend this site in a context where my recommendations are taken seriously, and a stop at trustedmarketrelationship confirmed I should make that recommendation soon, the small but real act of recommending content into spaces where my taste matters is something I take seriously and this site is worth the recommendation.

Leave a Reply

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