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

  1. Started believing the writer knew the topic deeply by about the second paragraph, and a look at flintcivet reinforced that confidence, the speed at which a writer establishes credibility through their writing is a useful quality signal and this writer establishes it quickly and quietly without resorting to credential dropping or self promotion.

  2. Vague feelings of recognition kept surfacing as I read because the writing names things I have been thinking, and a look at directionalsystems produced more of those recognition moments, content that gives shape to private intuitions is content that makes me feel less alone in my own thinking and this site has that effect.

  3. Good post, the kind that respects the reader by getting to the point quickly without skipping the details that matter, and a short look at strategyalignmenthub confirmed that approach is consistent across the site which is rare to find online these days, definitely a place I will return to soon.

  4. Looking forward to seeing what gets published next month, and a look at forwardactivation 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.

  5. Pass this along to colleagues if the topic comes up, the framing here is sensible, and a stop at elfindragon adds more useful angles to share, the kind of content that improves conversations rather than just feeding them is what makes a resource genuinely valuable in professional contexts going forward over time and across project boundaries too.

  6. Just sat back at the end of the post and felt grateful that someone took the time to write it, and a look at directionalsystems extended that gratitude across more of the site, recognising effort behind quality work is part of what makes the open web a community rather than just a marketplace today.

  7. Bookmarking this for later, the kind of resource I want to keep nearby, and a quick look at focusalignment confirmed the rest of the site is worth the same treatment, definitely going into my reference folder for the next time the topic comes up at work or in conversation with someone who asks.

  8. are casino winnings taxed what is pp in blackjack (Sean) australia, roulette layout usa and usa accepted casino,
    or real money pokies canada safe and secure

  9. top new united statesn online casino, united kingdom gambling revenue and best australian casino sign up bonus, or
    no deposit bonus bingo united states

    my web site: blackjack sealant (Luther)

  10. I came here looking for a quick answer and ended up reading the whole post because it was actually interesting, and after fawnfoxglove I had a much fuller picture, no stress and no confusion just a clear walk through the topic that made everything fall into place without much effort.

  11. Reading this in a relaxed evening setting was a small pleasure, and a stop at momentumdriver extended the pleasant evening reading, content that fits the tone of relaxed time without becoming forgettable is what I look for in evening reading and this site has the right tone for that particular slot in my daily reading routine.

  12. Came across this looking for something else entirely and ended up reading it through twice, and a look at momentumwithintention pulled me deeper into the site than I planned, the writing has a way of holding attention without resorting to manipulative cliffhangers or vague promises that never get delivered later down the page.

  13. Started thinking about my own writing differently after reading, and a look at focusactivator continued that reflective effect, content that influences how I work rather than just informing what I know is content with the highest kind of impact and this site has triggered some of that reflective influence today on me.

  14. Anyone curious about this topic would do well to start here, the foundation laid is solid, and a stop at directionalinsight would round out their understanding nicely, this is the kind of resource I would point a friend toward without hesitation if they asked me where to begin learning about anything in this area.

  15. DavidHiern DavidHiern

    Читатели получат представление о том, как современные технологии влияют на развитие медицины. Обсуждаются новые методы лечения, персонализированный подход и роль цифровых решений в повышении качества медицинских услуг.
    Ознакомиться с полной информацией – вывод из запоя на дому недорого

  16. Coming back to this one, definitely, and a quick visit to clarityinitiator only made me more sure of that, the kind of writing that makes you want to set aside time later rather than rushing through it now while distracted by everything else competing for attention on the screen today across so many tabs.

  17. Yesterday I was complaining about the state of online writing and today this site has temporarily fixed that complaint, and a look at cobraboulder extended that mood reversal, the short term mood improvement that comes from finding good content is real and this site has produced that improvement for me at a useful moment.

  18. Reading this prompted me to subscribe to my first newsletter in months, and a stop at floretbagel 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.

  19. Appreciated how the writer anticipated the questions a reader might have along the way, and a stop at bronzecrater continued that thoughtful approach, you can tell when content has been edited with the reader in mind versus just published as a first draft and this is clearly the former approach across what I read.

  20. Thanks for the breakdown, it gave me a clearer picture of something I had been confused about for a while now, and a stop at elfinfennel closed the remaining gaps in my understanding nicely, no need to hunt around twenty other articles to put the pieces together which is a real time saver.

  21. Williamzew Williamzew

    Эта публикация содержит ценные советы и рекомендации по избавлению от зависимости. Мы обсуждаем различные стратегии, которые могут помочь в процессе выздоровления и важность обращения за помощью. Читатели смогут использовать полученные знания для улучшения своего состояния.
    Наши рекомендации — тут – клиника плюс курск

  22. I really like the calm tone here, it does not push anything on the reader, and after I went through banyangeyser I felt the same way, just steady useful content laid out without drama, which is exactly what someone trying to learn something quickly needs to find rather than aggressive marketing.

  23. A genuinely unexpected highlight of my reading week, and a look at quickridgemarkethouse extended that pattern, the surprise of finding excellent content rather than the predictable mediocre is one of the few real pleasures of casual web browsing and this site delivered that surprise cleanly today which I really do appreciate.

  24. Took some notes for a project I am working on, and a stop at growthoptimizer added more raw material to those notes, content that contributes to my own creative work rather than just being interesting in the moment is the kind I value most and the kind I will keep coming back to repeatedly.

  25. Great work on keeping things readable, the post never drags or repeats itself which I really appreciate, and a stop at quickridgemarkethouse 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.

  26. Now setting aside time on my next free afternoon to read more from the archives, and a stop at growthoptimizer confirmed that time will be well spent, the rare site whose archive deserves a dedicated reading session rather than just casual sampling is the kind of resource worth scheduling around and this one qualifies clearly.

  27. 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 fawnimpala I was certain this is one of the better corners of the internet for this particular kind of content which is genuinely refreshing.

  28. Now setting this aside as a model of how to write thoughtfully on the topic, and a stop at buckledahlia extended that model status, content that becomes a reference for how a kind of writing should be done is content with influence beyond its own readership and this site is reaching that level for me clearly today.

  29. Worth a quiet moment of recognition for the consistency I have noticed across multiple posts, and a stop at directionaldrive continued that consistent quality, sites that maintain quality across many pieces rather than peaking on one viral post are sites with real editorial discipline and this one has clearly developed that discipline carefully.

  30. Now organising my browser bookmarks to give this site easier access, and a look at cobradamson 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.

  31. Charleswab Charleswab

    В этой статье мы говорим о важности поддержки в процессе выздоровления. Рассматриваются семьи, группы поддержки, специалисты и онлайн-ресурсы, которые могут сыграть решающую роль в избавлении от зависимости.
    Погрузиться в научную дискуссию – clinica plus в костроме

  32. Now feeling slightly more committed to my own careful reading practices having read this, and a stop at cobradamson reinforced that commitment, content that models the kind of attention it deserves is content that calibrates the reader and this site has clearly raised my own bar for what to bring to good writing today.

  33. Now thinking the topic is more interesting than I had given it credit for, and a stop at snowharbortradehall continued that elevated interest, content that revives my curiosity about subjects I had set aside is doing genuine work in the structure of my interests and this site is providing that revivifying effect today actually.

  34. Easy to recommend, the content speaks for itself without needing additional praise from me, and a stop at canoebeech only adds more reasons to send people this way, the kind of generous resource that benefits its readers without demanding anything in return is increasingly rare and worth recognising clearly today across the broader open internet.

  35. Reading this on a long flight and finding it the best thing I read across hours of trying, and a stop at claritydrivenprogress kept the streak going, when content beats long flight reading you know it has substance because flight reading is a hard test of a piece given the alternatives available everywhere.

  36. However measured this site clears the bar I set for sites I take seriously, and a stop at barleybuckle continued clearing that bar, the metrics I use for site quality are admittedly informal but they are consistent and this site has cleared them on multiple measurements across multiple visits which is meaningful for my evaluation.

  37. Time spent here today felt productive in the way that good reading sessions sometimes do, and a stop at solarmeadowmarketparlor 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.

  38. Solid recommendation from me to anyone working in the area, the perspective here is grounded, and a look at garnetcarbon adds even more useful angles, the kind of site that becomes a reference rather than just a one time read which is a higher bar than most blogs ever reach today on the modern web.

  39. Different feel from the algorithmically optimised posts that dominate the topic, and a stop at progressactivation reinforced that human touch, you can tell when a site is being run by someone who reads what they publish versus someone just hitting submit and moving on quickly to the next assignment without checking the result.

  40. A piece that reads like it was written for me without claiming to be written for me, and a look at forwardmotionengine 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.

  41. Liked the way the post got out of its own way, and a stop at ferretcactus extended that invisible craft, the best writing you barely notice while reading because it is doing its work without drawing attention to itself and this site has clearly mastered that disappearing act across the pieces I have read.

  42. Felt the writer respected me as a reader without making a show of doing so, and a look at ermineattic continued that quiet respect, this is the kind of small but meaningful detail that separates the sites I bookmark from the ones I close after a single skim and never return to again no matter how interesting the headline.

  43. Reading more of the archives is now on my plan for the weekend, and a stop at momentumlane confirmed the archive worth the time, the rare archive worth a dedicated reading session rather than just casual sampling is the rare archive of serious work and this site has clearly produced enough of that work to warrant the deeper exploration.

  44. Reading this confirmed that my time researching the topic in other places had not been wasted, and a stop at harborbatik extended the confirmation, when independent sources agree that is a useful signal and this site is one of the more reliable sources I have found for cross checking what I read elsewhere on similar subjects.

Leave a Reply

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