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

  1. A piece that handled a controversial angle without becoming heated, and a look at vexaropartners continued that calm engagement, content that can address contested topics without inflaming them is doing rare diplomatic work and this site has clearly developed the editorial maturity to handle sensitive material with the appropriate temperature of writing throughout.

  2. Glad to have another data point on a question I am still thinking through, and a look at rasecurities added two more, content that acknowledges its place in a wider conversation rather than pretending to settle the question alone is intellectually honest in a way that I wish was more common across the open web.

  3. Thank you for the genuine effort here, it shows in every paragraph and not just the headline, and after my visit to qorivobonding I was sure this site cares about getting things right rather than chasing clicks, which is the main reason I will come back later this week to read more.

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

  5. grand casino mille lacs coupons (Terrance) in toronto
    ontario australia, best payout online casino united kingdom wishful and free
    spin no deposit bonus codes usa, or poker real
    money online australia

  6. Useful enough to recommend to several people I know who would appreciate it, and a stop at korivonext added more material I will pass along too, the kind of writing that earns word of mouth is the kind that actually delivers on its promises which is what this site does without any drama or fanfare attached.

  7. Glad I stumbled across this post, the explanations actually make sense without needing background knowledge to follow along, and after a stop at longtermvaluepartnership the same was true there, no assumptions about the reader just clear writing that anyone can understand from the first line right through to the end.

  8. Нижний Новгород, всем привет Отец не выходит из штопора Дети напуганы В больницу тащить страшно Короче, только это реально спасло — вывод из запоя на дому нижний новгород круглосуточно без выходных Поставили капельницу с детоксикационным раствором В общем, жмите чтобы сохранить — капельница от запоя на дому круглосуточно https://alkogolizm.vyvod-iz-zapoya-na-domu-nizhnij-novgorod.ru Вывод из запоя на дому — это реальный выход Перешлите тем кто в такой же ситуации

  9. A genuine compliment to the writer for keeping the post focused on what mattered, and a look at ThirtyMale continued that disciplined focus, focus is a editorial choice that compounds across many small decisions and this site has clearly made those small decisions consistently across what I have read so far this week here.

  10. Better than most of the writing I have come across on this topic recently, simpler and more direct, and a look at cnsbiodesk continued in that same way, a real outlier in a crowded space full of repetitive content that says little while taking up a lot of reader time today which is unfortunate.

  11. Took the time to read every paragraph rather than skimming for the punchline, and a quick visit to dondatheverge earned the same careful attention from me, that is the highest signal I can give about content quality because my default mode is rapid scanning rather than deliberate reading on most pages.

  12. Following the post through to the end without my attention drifting once, and a look at almostfashionablemovie earned the same uninterrupted attention, content that holds attention without manipulating it is content with substantive pull and this site has demonstrated that substantive pull across multiple pieces in a single reading session reliably here today.

  13. Nice and clean, that is the best way to describe the writing here, no clutter and no wasted words, and a quick visit to kazhanmaster kept that going, I appreciate when a site treats its readers like people who can think for themselves without needing constant hand holding through every paragraph.

  14. Glad the writer did not feel the need to argue with imaginary critics in the post itself, and a stop at zavirotrustco kept the same focused approach going, defensive writing wastes the reader time and confidence on positions that did not need defending and this post has clearly avoided that common failure.

  15. A piece that built up gradually rather than front loading its main points, and a look at banehmagic maintained the same gradual structure, content that trusts the reader to reach conclusions through accumulating reasoning is more persuasive than content that announces conclusions and then defends them and this site uses the persuasive approach.

  16. Bookmark folder created specifically for this site, and a look at samsungfoundryforum confirmed the dedicated folder was the right call, dedicated folders for individual sites are a level of organisation I rarely deploy and this site has earned that level of dedicated tracking based on the consistency I have seen so far across sessions.

  17. Reading this with a notebook open turned out to be the right move, and a stop at ThirtyMale added more material to the notes, content that justifies active note taking from a passive reader is content with real informational density and this site is producing notes worthy material at a high rate consistently.

  18. Hello there, You’ve done an excellent job. I will definitely digg it and individually suggest to my friends. I am sure they will be benefited from this website.

  19. Worth saying that the prose reads naturally without straining for style, and a stop at navirobond maintained the same unforced quality, writing that achieves elegance without effort is the highest tier and this site has clearly worked out how to land that effortless quality consistently rather than only on the writers best days.

  20. Reading this post made me realise I had been settling for lower quality elsewhere, and a look at qorivotrustco 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.

  21. Even from a single post the editorial care is clear, and a stop at cavaroline extended that care across more pages, the kind of attention to quality that shows up in every paragraph is what separates serious sites from the rest and this one has clearly invested in that paragraph level attention across what I have read.

  22. Took a chance on the headline and was rewarded, and a stop at nolaroline kept the rewards coming as I clicked through, the kind of place where every link leads somewhere worth the click is a small luxury on the modern web where so many sites are mostly empty calories disguised as content.

  23. A piece that read smoothly because the writer understood how readers actually move through prose, and a look at modernpurchaseplatform maintained the same reader awareness, writers who think about the reading experience as much as the writing experience produce better work and this site has clearly made that shift in editorial approach.

  24. Glad I gave this fifteen minutes rather than the usual three minute skim, and a look at deathrayvision earned the same investment, time spent on quality content is rarely wasted but the reverse is also true and learning which sites deserve which kind of attention is part of being a careful online reader.

  25. Looking forward to seeing what gets published next month, and a look at TheSandiegoLeague extended that anticipation across the broader site, finding myself looking forward to a sites future content rather than just consuming its existing content is a stronger commitment level than I usually reach with new finds and this site triggered that.

  26. Closed the laptop and walked away thinking about the post for a good twenty minutes, and a stop at zavirotrustline produced similar lingering thoughts, content that survives the closing of the browser tab is content that has actually entered the mind rather than just decorating the screen for the duration of the reading.

  27. This design is spectacular! You certainly know how to keep a reader
    amused. Between your wit and your videos, I was almost moved to start my own blog (well,
    almost…HaHa!) Excellent job. I really enjoyed what you had
    to say, and more than that, how you presented it.
    Too cool!

  28. A piece that did not lean on the writer credentials or institutional backing, and a look at jestraproperties maintained the same focus on substance, content that earns trust through quality rather than through name dropping is the kind I find most persuasive and this site is clearly playing on the substance side of that distinction.

  29. Following a few of the internal links revealed more posts of similar quality, and a stop at trivoxcore added more to that growing pile, sites where internal links lead to more good content rather than to more of the same recycled material are sites with depth and this one has clearly built that depth carefully.

  30. Reading this slowly and letting each paragraph land before moving on, and a stop at xelivoline earned the same patient approach, content that rewards slow reading rather than speed is content with real density and the writers here are clearly producing work that benefits from the careful eye rather than the rushed scan.

  31. Now recognising the post as a rare example of careful writing on a topic that mostly receives careless treatment, and a stop at queenmshop extended that contrast with the average elsewhere, content that highlights how much the average is settling for low quality is content that has both internal merit and external value as a benchmark.

  32. Adding to the bookmarks now before I forget, that is how good this is, and a look at SaveAustinNeighborhoods confirmed the rest of the site is worth saving too, this is one of those rare finds that justifies the time spent searching the web for once which is a relief in the current environment.

  33. Beyond the topic at hand this site reads as a small ongoing project of taking writing seriously, and a look at strategicbusinessalliances reinforced that project quality, sites that treat publishing as an ongoing serious practice rather than as content production for traffic are sites worth supporting and this one has clearly chosen the serious approach.

  34. Skipped the comments to avoid spoilers and came back later to find them genuinely worth reading, and a stop at jackyunits extended that surprised respect, when the discussion below a post matches the quality of the post itself you have found something special and this site appears to attract that kind of audience.

  35. Even just sampling a few posts the consistency is what stands out, and a look at trivoxtrustco confirmed the broader pattern, sites where every piece I sample lives up to the standard set by the others are sites with serious quality control and this one has clearly invested in whatever editorial process produces that consistency reliably.

  36. Just dropping by to say thanks for the effort, it does not go unnoticed when a writer cares this much about the reader, and after I went through kruisefest I was certain this is one of the better corners of the internet for this particular kind of content which is genuinely refreshing.

  37. If I were to recommend a starting point for the topic this site would be near the top of my list, and a stop at realherschel reinforced that recommendation status, the small list of starting point recommendations I keep for friends asking about topics is short and this site is now firmly on it.

Leave a Reply

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