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

  1. Nice and clean, that is the best way to describe the writing here, no clutter and no wasted words, and a quick visit to longledge 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.

  2. Liked that there was nothing performative about the writing, and a stop at ideamapper continued that genuine quality, performative writing tries to be witnessed rather than read and the difference between performance and substance is huge for the careful reader and this site has clearly chosen substance every time clearly.

  3. Honest reaction is that I want to send this to a friend who would benefit from it, and a look at duneelfin added more material I will pass along too, the impulse to share is the strongest signal I have for content quality and this site is generating that impulse cleanly across multiple posts.

  4. Now thinking I want more sites built on this kind of editorial foundation, and a stop at forwardthinkingpath extended that wish into a broader hope, sites built on substance and care rather than on metrics and growth are the kind of sites I want to see more of and this one is a small example worth supporting.

  5. Denemek isteyen arkadaşlara hep soruyorum. Güvenilir bir site bulmak gerçekten çok zaman aldı. Sonunda tüm teknik detayları inceleyip sistemi test ettim. En sonunda doğru adrese ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet üye ol 1xbet üye ol. Valla bak net söyleyeyim — casino oyunlarına meraklıysanız burası tam size göre.

    müşteri hizmetleri bile ilgili ve hızlı. İşin doğrusunu söylemek gerekirse — başka yerde vakit kaybetmeyin yani. Umarım siz de memnun kalırsınız…

  6. A piece that reads as if the writer trusted readers to fill in obvious gaps, and a look at chimneycargo continued that respectful approach, content that does not over explain what the reader can infer is content that respects intelligence and this site has clearly chosen to write to capable readers rather than to the lowest common denominator.

  7. Glad the writer did not feel the need to argue with imaginary critics in the post itself, and a stop at actionblueprint 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.

  8. Worth marking the moment when reading this clicked into something useful for my own work, and a look at bisonfudge extended that practical click, content that connects to my actual life rather than just being interesting is content with the highest kind of value and this site is generating that connection at a high rate.

  9. Great work on keeping things readable, the post never drags or repeats itself which I really appreciate, and a stop at strategymap added a bit more context that fit naturally with what was already said here, no need to read everything twice to get the point being made today.

  10. Now feeling the quiet pleasure of finding writing that takes itself seriously without being self serious, and a stop at momentumcoordination extended that subtle pleasure, the gap between earnest and pretentious is fine and this site has clearly chosen to land on the earnest side without slipping over into pretentious which is impressive.

  11. Liked the careful selection of which details to include and which to skip, and a stop at builddirectionfirst reflected the same editorial judgement, knowing what to leave out is just as important as knowing what to include and this site has clearly figured out where that line sits for the topics it covers regularly.

  12. Goodinidat Goodinidat

    В статье рассматриваются различные стратегии борьбы с зависимостями, включая проверенные методы и реальные истории успеха. Читатель узнает, какие подходы наиболее эффективны и как начать путь к выздоровлению.
    Посмотреть подробности – лечение алкоголизма с выездом на дом

  13. Felt the post was written for someone like me without explicitly addressing me, and a look at chimneycargo produced the same fit, when content lands on its target without pandering you know the writer has done careful audience thinking rather than relying on demographic targeting or interest signals to do the work of editorial decisions.

  14. Picked something concrete from the post that I will use immediately, and a look at actionblueprint added another concrete piece, content that produces immediately useful output rather than just abstract appreciation is content that earns its place in my regular rotation without needing any further evaluation from me at this point honestly.

  15. Different in a good way from the cookie cutter content that fills most blogs covering this area, and a stop at ivoryharborvendorparlor kept showing me why, original thoughtful writing exists if you know where to look and this site has earned a place on my short list of those rare exceptions worth defending.

  16. Came across this through a roundabout path and now it is on my regular rotation, and a stop at nextstepnavigator sealed that decision, the open web still produces serendipitous discoveries when you let the citations and references guide you rather than relying purely on algorithmic feeds for new content recommendations always.

  17. Telefonuma güncel sürümü yüklemek istiyordum açıkçası. Herkes farklı bir şey tavsiye ediyordu kime güveneceğimi bilemedim. Güncel bilgileri kontrol edip süreci hatasız başlattım. En sonunda sağlam bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet türkiye indir 1xbet türkiye indir. Valla bak net söyleyeyim — telefonuma indirdikten sonra çok rahat ettim.

    Hiçbir sıkıntı yaşamadım indirme aşamasında. İşin doğrusunu söylemek gerekirse — en kullanışlı uygulama bu oldu artık. Herkese hayırlı olsun…

  18. This filled in a gap in my understanding that I had not even noticed was there, and a stop at intentionalvector did the same, the kind of post that gives you more than you expected when you first clicked through from somewhere else, a real find for anyone curious about the area covered here.

  19. Time spent here today felt productive in the way that good reading sessions sometimes do, and a stop at nextstepnavigator extended that productive feeling across the rest of the morning, the difference between productive reading and merely passing time is real and this site is consistently on the productive side for me lately.

  20. Reading this prompted me to dig into a related topic later, and a stop at aviaryelder provided some of the starting points for that follow up reading, content that triggers further exploration rather than satisfying curiosity completely is content with real generative energy and this site has plenty of that energy throughout it.

  21. Felt no urge to argue with the conclusions even though I started the post slightly skeptical, and a look at eagleelder maintained that pattern, writing that earns agreement through clarity of argument rather than rhetorical pressure is the kind I find most persuasive and the kind I want to read more of these days.

  22. Now adding the homepage to my regular check rotation rather than waiting for individual links to find me, and a stop at bisonholly confirmed the rotation upgrade, the move from passive discovery to active checking is a vote of confidence in a sites ongoing quality and this site has earned that active engagement clearly.

  23. Once you find a site like this the search for similar voices begins, and a look at claritysystems extended the search energy, finding a high quality reference point makes the gap between it and adjacent sources visible in a way it was not before and this site has provided that high reference point across multiple recent visits.

  24. A particular kind of restraint shows up in the writing, and a look at ideamotion 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 depth of coverage felt about right for the format, neither shallow nor overwhelming, and a look at citrinefjord kept that calibration going, getting the depth right for blog format is genuinely difficult because too shallow loses experts and too deep loses beginners but this site nailed it nicely which I really do appreciate.

  26. Felt the post handled a sensitive angle of the topic with appropriate care, and a look at momentumoptimization extended that careful handling across related material, sites that can navigate delicate territory without causing damage are rare and require a level of judgement that comes from experience rather than from following any clear playbook.

  27. Liked how the post handled an objection I was forming as I read, and a stop at linenmeadowmarkethall similarly anticipated where my thinking was going next, the rare writer who can predict reader concerns and address them in advance is doing something most online content fails to do despite that being basic editorial work.

  28. Came in skeptical of the angle and left mostly persuaded, and a stop at strategyactivation pushed me a bit further in the same direction, content that can move a critical reader by argument rather than rhetoric is rare and worth pointing out because it indicates real substance underneath the surface presentation here.

  29. Thanks for the practical examples scattered through the post rather than abstract theory only, and a look at momentumoptimization continued that grounded style, abstract points are easier to remember when paired with concrete situations and the writers here clearly understand how readers actually retain information from blog content reading sessions.

  30. Worth saying this site reads better than most paid newsletters I have tried, and a stop at ebonycanyon confirmed that comparison, the bar for free content is often lower than for paid but this site clears the paid bar consistently and that says something about the editorial approach behind the work being published here regularly.

  31. A piece that reads as if the writer trusted readers to fill in obvious gaps, and a look at strategyactivation continued that respectful approach, content that does not over explain what the reader can infer is content that respects intelligence and this site has clearly chosen to write to capable readers rather than to the lowest common denominator.

  32. Thank you for the genuine effort here, it shows in every paragraph and not just the headline, and after my visit to directionalguidance 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.

  33. Honestly the simplicity is what makes this work, the topic is not buried under filler words or overly complex examples, and a quick look at findyourcorepurpose showed the same sensible style, I left with what I came for and no headache from over reading which is a real win these days.

  34. If patience for careful reading is rare these days finding sites that reward it is rarer still, and a stop at progressalignment extended that rare reward, the diminishing returns on shallow content reading have made me more selective about where to spend reading time and this site is meeting the higher selectivity bar consistently.

  35. Now considering whether the post would translate well into a different form, and a look at lotusosprey suggested similar versatility, content that could move into other media without losing its substance is content that has been built around ideas rather than around format and this site reads as idea first throughout posts.

  36. A piece that handled the topic with appropriate weight without becoming portentous, and a look at ideaflowpath continued that calibrated seriousness, content that takes itself seriously without becoming pompous is something this site has clearly figured out and the balance shows up in every piece I have read across multiple sessions now.

  37. Adding this to my list of go to references for the topic, and a stop at cloverdahlia confirmed the rest of the site deserves the same, definitely the kind of resource that earns its place rather than getting forgotten the moment the next interesting article shows up in my feed somewhere else on the web.

  38. Now realising the topic deserved better treatment than it has been getting elsewhere, and a look at cloverharborvendorparlor extended that broader recognition, content that exposes the gap between actual quality and average quality elsewhere is doing the quiet work of raising standards and this site is contributing to that elevation in its own corner.

  39. Just want to flag that this was useful and not bury the appreciation in caveats, and a look at borealbarley earned the same direct praise, recognising good work without hedging it with criticism is something I try to practice because over qualified compliments tend to read as backhanded and miss the point sometimes.

  40. Now organising my browser bookmarks to give this site easier access, and a look at directionalfocuslab earned the same organisational priority, the small acts of digital housekeeping I do for sites I expect to use often are themselves a measure of trust and this site has triggered the trust based housekeeping behaviour from me clearly.

  41. Felt the post had been quietly polished rather than aggressively styled, and a look at visionprogression confirmed the same understated polish, sites whose quality reveals itself slowly rather than announcing itself loudly are the kind I trust more deeply because the trust is not based on first impressions of marketing but actual substance.

Leave a Reply

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