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

  1. Came back to this twice now in the same week which is unusual for me, and a look at learnandoptimizefast suggested I will keep coming back, the kind of post that earns repeated visits rather than one and done reading is the gold standard for content quality and this site clearly hit that standard.

  2. Recommended to anyone working in or curious about this area, the depth and clarity combine well, and a look at buildsmartprogress keeps that going across more pages, the kind of site that earns regular visits rather than chasing trends has my respect because it suggests genuine commitment to the topic itself rather than to chasing trends.

  3. Now recognising that this site has earned a place in the small group of resources I treat as authoritative, and a stop at inaarch confirmed that placement, the difference between resources I trust and resources I just consume is real and this site has clearly moved into the trusted category through consistent quality over time.

  4. Now I want to find more sites like this but I suspect they are rare, and a look at learnandexpandfast extended that thought, the few sites that meet this quality bar are precious specifically because they are rare and finding others like them is one of the ongoing projects of careful internet curation across the years.

  5. Good quality through and through, no rough edges and no signs of being rushed, and a quick look at createimpacttogether kept the same polish going, the kind of site that respects its own brand by maintaining consistency across pages which is something I always appreciate as a reader looking for trustworthy information online today.

  6. Honestly enjoyed every minute spent here, that is not something I say lightly, and a look at startwithclearvision confirmed I will be back, the bar for spending time online is high for me these days but this site clears it without effort which is high praise indeed from this reader who is usually rather demanding.

  7. Now considering writing a longer note about the post somewhere, and a look at createfocusedaction added more material for that note, content that prompts me to write rather than just consume is content with generative energy and this site is producing that generative effect for me at a higher rate than most sources.

  8. Quality work here, the post reads cleanly and the points stay focused throughout, and a stop at findnewopportunityflows kept the standard high, you can tell the writer cares about the final result rather than just hitting publish for the sake of having something new on the page to feed the search engines.

  9. Felt the post had been written without looking over its shoulder, and a look at hupido continued that confident posture, content written for its own sake rather than against imagined critics has a different quality and this site reads as written from a place of confidence rather than defensive justification of every claim.

  10. Came in confused about the topic and left with a much firmer grasp on it, and after growwithconfidencenow I felt I could explain this to someone else without hesitation, that is the gold standard for any educational content and most sites simply fail to reach it ever which is unfortunate but true.

  11. Took a screenshot of one section to come back to later, and a stop at buildsmartfoundations prompted another saved tab, the urge to capture and revisit specific pieces of content is something I rarely feel but when I do it tells me the work is worth more than the average passing read for sure.

  12. Now placing this in the small category of sites whose updates I would actually want to know about, and a stop at buildactionableprogress confirmed that placement, the difference between sites I want to follow and sites I just consume from is real and this one has crossed into the active follow category from the casual consumption side.

  13. Honestly enjoyed every minute spent here, that is not something I say lightly, and a look at siloteapot confirmed I will be back, the bar for spending time online is high for me these days but this site clears it without effort which is high praise indeed from this reader who is usually rather demanding.

  14. Came here from a search and stayed for the side links because they were that interesting, and a stop at createprogressmapping took me even further into the site, the kind of organic exploration that good content invites is something most sites kill through aggressive interlinking and pushy navigation choices rather than relying on quality.

  15. Thanks for putting in the work to make this approachable, plenty of sites cover the same ground but most do it badly, and a quick visit to createprogressframework confirmed this one stands apart, simple language and useful examples without anyone trying to sell me anything along the way which I really appreciated.

  16. Closed the laptop after this and let the ideas settle for a few hours, and a stop at buildstrategicdirection similarly rewarded reflective time, content that benefits from sitting with rather than racing past is the kind I want more of and the kind that this site appears to consistently produce week after week here.

  17. A well calibrated piece that knew its scope and stayed inside it, and a look at findnewopportunityflows maintained the same scope discipline, scope creep is one of the failure modes of long blog posts and this site has clearly invested in the editorial discipline to prevent it which shows up in tightly contained pieces.

  18. Working through this site has been a small antidote to the shallow content that fills most of my reading time, and a stop at findgrowthdirections extended that antidote function, sites that quietly improve the average quality of my reading by being themselves are sites worth supporting through return visits and recommendations consistently.

  19. More substantial than most of what I find searching for this topic online, and a stop at learnandoptimizeprocesses kept that quality consistent, this is one of those sites where the writing actually rewards careful reading rather than punishing the patient reader with empty filler stretched out across long paragraphs that say very little.

  20. Honest assessment is that this is one of the better short reads I have had this week, and a look at bakeboxshop reinforced that, the bar for short content is low because most of it sacrifices substance for brevity but this site manages both at once which is harder than it sounds for most writers attempting it.

  21. A slim post with substantial content per word, and a look at discoveropportunityzones maintained the same density, the content per word ratio is something I track informally and this site scores high on that ratio compared to most sources I read regularly which is a quiet indicator of careful editorial work behind the scenes.

  22. Now understanding why someone recommended this site to me a while back, and a stop at createyourstorytoday explained the recommendation, sometimes recommendations make sense only after experience and this site has finally clicked into place as the kind of resource I now understand was being recommended for sound editorial reasons by my friend.

  23. Picked up on several small touches that suggest a careful editor, and a look at findbetterapproaches suggested the same hand at work across the broader site, editorial consistency at a granular level is one of the strongest signs that an operation is serious rather than just hobbyist and this site reads as serious throughout.

  24. A particular kind of restraint shows up in the writing, and a look at learnandoptimizeprocesses maintained the same restraint across pages, knowing what not to say is just as important as knowing what to say and this site has clearly developed strong instincts on both sides of that editorial line throughout pieces I have read.

  25. The lack of unnecessary jargon made the post accessible without sacrificing accuracy, and a look at createimpactquickly continued in the same accessible style, technical topics often hide behind specialised vocabulary but here the writer trusts the reader to keep up with plain language and that trust pays off nicely throughout the entire post.

  26. Worth flagging this site to a few specific friends who would appreciate the editorial sensibility, and a look at learnandrefine added more pages I will mention to them, recommending sites to specific people requires understanding both the site and the person and this site is making those personalised recommendations easy and natural for me.

  27. A piece that handled multiple complications without becoming confused, and a look at siloteapot continued that organisational clarity, holding multiple threads in a single piece without losing any of them is a sign of skilled writing and this site has clearly developed the editorial discipline to manage complexity without sacrificing readability throughout.

  28. My professional context would benefit from having this kind of resource available, and a look at createyourstorytoday extended the professional applicability, the rare site that contributes meaningfully to professional work rather than just personal interest is content with multiplied value and this one is providing that professional utility consistently across multiple pieces.

  29. During the time spent here I noticed the absence of the usual distractions, and a stop at startwithpurposefulsteps extended that distraction free experience, content that does not fight my attention with pop ups and modals and aggressive prompts is content that respects me and this site has clearly chosen the respectful approach throughout.

  30. Liked everything about the experience, from the opening through to the closing notes, and a stop at inobrat extended that into more pages, finding a site where the editorial vision shows through every choice rather than feeling random is an increasingly rare experience and one I am glad to have today during this particular reading session.

  31. Decided to read this site for a while before forming a verdict, and the verdict after several pages is positive, and a stop at findbetterapproaches continued that pattern, judging a site requires more than one post and giving sites a fair sample is something I try to do for promising candidates rather than rushing to dismiss.

  32. Now planning a longer reading session for the archives, and a stop at buildactionableprogress confirmed the archives are worth that longer commitment, sites with archives I want to read deliberately rather than just sample are rare and this one has clearly earned that level of interest based on the consistency of what I have already read.

  33. My professional context would benefit from having this kind of resource available, and a look at learnandadvancefaster extended the professional applicability, the rare site that contributes meaningfully to professional work rather than just personal interest is content with multiplied value and this one is providing that professional utility consistently across multiple pieces.

  34. The post made the topic feel approachable without making it feel trivial, that is a fine balance, and a stop at learnandrefine maintained the same balance, finding the middle ground between welcoming and serious is genuinely difficult and the writers here have clearly figured out how to consistently hit it well across many different posts.

  35. A thoughtful read in a week that has been mostly noisy, and a look at buildforwardthinking carried that thoughtful quality across more pages, finding pockets of considered writing in a week of distractions is one of the small wins of careful curation and this site is providing those pockets at a sustainable rate.

  36. Now feeling the rare pleasure of trusting a source completely on first encounter, and a look at createprogressmapping extended that initial trust into something more durable, the calibration of trust to evidence is something I do informally and this site has earned high trust through the cumulative weight of multiple consistently good posts already.

  37. Now recognising that this site has earned a place in the small group of resources I treat as authoritative, and a stop at holdax confirmed that placement, the difference between resources I trust and resources I just consume is real and this site has clearly moved into the trusted category through consistent quality over time.

  38. Honestly enjoyed reading this more than I expected to when I first clicked through, and a stop at buildactionableprogress kept that pleasant surprise going, sometimes you stumble onto a site that just clicks with how you like to read and this is one of those for me right now today which is great.

  39. Worth flagging that the writing rewarded a second read more than I expected, and a look at inobrat produced the same second read benefit, content with hidden depths that emerge only on careful rereading is rare in the modern blog space and this site has clearly invested in that level of compositional density throughout.

  40. Reading this between two meetings turned out to be the highlight of the morning, and a stop at buildyournextmove continued that highlight quality, content that outshines the structured parts of a working day is doing something well beyond ordinary and this site has produced multiple such highlights for me already this week alone.

  41. Recommend this to anyone who values clear thinking over flashy presentation, and a stop at exploreideaswithpurpose continued in the same understated way, this site has its priorities in the right place which makes it worth supporting through repeat visits and recommendations rather than just one passing read today before moving on quickly elsewhere.

  42. Skipped a meeting reminder to finish the post, and a stop at createimpactsteps held me past another reminder, when content beats meetings the writer is doing something extraordinary because meetings have institutional support behind them and yet good writing can still occasionally win that competition for attention which I find heartening today.

  43. Honestly this was a good read, no jargon and no padding, and a short look at bulkingbayou kept that same feel going which I really appreciated, the writer clearly knows the topic well enough to explain it without hiding behind big words or filler that often gets used to seem clever.

  44. Closed the tab with a small sense of finality rather than the usual rushed exit, and a stop at learnandscale produced the same considered closing, when reading ends with deliberate satisfaction rather than impatient skip you know the time was well spent and this site is producing those satisfying endings consistently across what I read.

  45. A piece that reads like it was written for me without claiming to be written for me, and a look at buildsustainablemomentum produced the same fit, when the writer audience match clicks naturally without being engineered through demographic targeting you know the writing is solid and this site has that natural fit consistently for me.

  46. Reading this prompted me to subscribe to my first newsletter in months, and a stop at jebbird confirmed the subscribe was the right call, content that earns a newsletter signup is content that has cleared a higher trust bar than a casual visit and this site has clearly earned that level of commitment from me.

  47. Skipped a meeting reminder to finish the post, and a stop at createimpactsteps held me past another reminder, when content beats meetings the writer is doing something extraordinary because meetings have institutional support behind them and yet good writing can still occasionally win that competition for attention which I find heartening today.

  48. Solid endorsement from me, the writing earns it, and a look at buildsmartdirection continues to earn it across the broader site too, the kind of operation that maintains quality across many pages rather than just one viral post is a sign of serious commitment and that is what I see here clearly across what I read.

Leave a Reply

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