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

  1. The pacing of the post was just right, never rushed and never dragged out unnecessarily, and a look at qivlumo maintained the same rhythm, you can tell the writer has experience because the difficult skill of pacing is something only practiced writers manage to handle well in long form content over time and across formats.

  2. Bookmarking this for later, the kind of resource I want to keep nearby, and a quick look at nylonplain 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.

  3. Now realising the post has been quietly doing important work in my mind for the past hour, and a stop at nationmagma extended that quiet processing, content that continues to do work after I close the tab is content with afterlife in the mind and this site is producing those long lived effects at a meaningful rate.

  4. Came in tired from a long day and the writing held my attention anyway, and a stop at presslatte kept that going, content that can engage a fatigued reader is doing something right because most online reading happens in suboptimal conditions like that one and quality content adapts to it without complaint.

  5. Now planning to recommend this site in a context where my recommendations are taken seriously, and a stop at pillownebula 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.

  6. Rogerket Rogerket

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

  7. DavidKix DavidKix

    Текст посвящён распространённым мифам о зависимости и их развенчанию. Мы предоставим научно обоснованную информацию и дадим рекомендации по выбору эффективного способа борьбы с зависимым поведением.
    Подробнее – капельница от запоя в Химках

  8. Different feel from the algorithmically optimised posts that dominate the topic, and a stop at mavnero 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.

  9. Even just sampling a few posts the consistency is what stands out, and a look at designledmarketplace 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.

  10. Anyone curious about this topic would do well to start here, the foundation laid is solid, and a stop at presslatte 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.

  11. Took a screenshot of one section to come back to later, and a stop at frondketo 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. Found this through a search that was generic enough I did not expect quality results, and a look at modmixo continued the surprisingly good experience, search engines occasionally still surface excellent independent content if you scroll past the obvious paid and high authority results which is reassuring to remember sometimes.

  13. Even just sampling a few posts the consistency is what stands out, and a look at designledmarketplace 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.

  14. Liked that the post landed without needing to manufacture controversy or take a contrarian stance for attention, and a stop at honeymeadowmarketgallery continued that grounded approach, content that earns attention through quality rather than provocation is the kind that builds long term trust rather than burning it on quick wins.

  15. Glad to find something on this topic that does not start with three paragraphs of throat clearing before getting to the point, and a stop at palettemanor also dives right in, respect for the readers time shows up in small editorial choices like this and they add up to a real difference quickly.

  16. Appreciated that the writer trusted the reader to follow along without constant restating of earlier points, and a look at lyrelinden continued that respect for the reader, treating an audience as capable adults rather than as people to be hand held through every paragraph is something I notice and value highly across the open internet today.

  17. MiltonBop MiltonBop

    Мы рассмотрим современные вызовы здравоохранения и пути их решения с помощью технологий и научных исследований. В статье собраны данные о новых лекарствах, методах диагностики и системном подходе к улучшению здоровья населения.
    Расширить кругозор по теме – вызвать нарколога на дом

  18. Now appreciating the small but real way this post improved my afternoon, and a stop at trendrivo extended that small improvement effect, content that produces measurable positive impact on the texture of a reading day is content with real value and this site is producing those small positive impacts at a sustainable rate apparently.

  19. A clean piece that knew exactly what it wanted to say and said it, and a look at nectarmocha maintained the same clarity of intention, knowing the goal of a piece before writing is something most blog content lacks and the clarity of purpose here shows up in every paragraph for any careful reader to notice.

  20. JimmiePaymn JimmiePaymn

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

  21. EugeneBat EugeneBat

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

  22. Really appreciate the lack of pop ups, modals, cookie banners stacking on top of each other, and a quick visit to lyrelinden confirmed the same clean approach across the rest of the site, technical decisions about user experience are part of what makes content actually pleasant to engage with for sure.

  23. Edwardzer Edwardzer

    В данной статье рассматриваются физиологические и эмоциональные аспекты зависимости. Мы обсудим, как организм реагирует на зависимое поведение, и какие методы помогают восстановить здоровье и внутреннее равновесие.
    Исследовать вопрос подробнее – вывода из запоя на дому в Луганске

  24. Found something new in here that I had not seen explained this way before, and a quick stop at xunmora expanded the idea even further, the kind of writing that nudges your thinking forward a bit without forcing the issue is exactly what I look for online today and rarely actually find anywhere.

  25. Reading this gave me a small sense of progress on a topic I have been slowly working through, and a stop at tavlizo added another step forward, learning happens in small increments across many sources and finding sources that consistently contribute is the actual practical value of careful curation in an information rich world.

  26. Honestly thank you to whoever wrote this because it scratched an itch I had not quite been able to articulate, and a stop at trendrova kept that satisfying feeling going, the kind of writing that meets unspoken needs is special and this site clearly has writers who understand their readers more than most do today.

  27. Grateful for posts like this one, they remind me there are still places online run by people who care about quality, and a look at danebox reflected the same standards, you can tell the difference between content made for readers and content made just for search engines today and this is the former.

  28. A piece that did exactly what it promised in the headline without overshooting or underdelivering, and a look at palettemauve continued that calibration, alignment between promise and delivery is a basic editorial virtue that many sites fail at and this site has clearly mastered the matching of expectation and substance throughout pieces.

  29. Now considering the post as evidence that careful blog writing is still possible, and a look at dealmixo extended that evidence, the broader question of whether the modern web can sustain quality writing has obvious empirical answers in sites like this one and seeing them is reassuring even when they remain a minority overall today.

  30. Thanks for the simple approach, too many sites bury the actual point under layers of unnecessary words, but here every line earns its place, and a look at kelpfancy showed the same care for the reader which is something I will remember the next time I need answers on a topic.

  31. Thanks for the simple approach, too many sites bury the actual point under layers of unnecessary words, but here every line earns its place, and a look at pipmyrrh showed the same care for the reader which is something I will remember the next time I need answers on a topic.

  32. Coming back to this one, definitely, and a quick visit to tavmixo 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.

  33. Genuinely useful read, the points are practical and easy to apply right away, and a quick look at quarkpivot confirmed that this site is consistent in that approach, looking forward to digging through the rest of it when I get the chance to sit down properly later in the week or this weekend.

  34. Worth flagging that the writing rewarded a second read more than I expected, and a look at neonmotel 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.

  35. Top tier post, the kind that makes you want to share the link with friends working in the same area, and a stop at pansyoboe only made me more confident in doing that, this site is one of the better resources I have seen on the topic recently across both new and older posts.

  36. Bookmark added in three places to make sure I do not lose the link, and a look at darebulb got the same redundant treatment, sites I am afraid to lose are the rare keepers and this is clearly one of them based on what I have read so far across this and a couple of related posts.

  37. A piece that was confident enough to leave some questions open rather than forcing closure, and a look at modrova continued that intellectual honesty, content that admits the limits of its scope is more trustworthy than content that pretends to total understanding and this site has the right calibration on certainty consistently.

  38. I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do it for you? Plz reply as I’m looking to construct my own blog and would like to know where u got this from. kudos

  39. RobertMen RobertMen

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

  40. Bookmark folder reorganised slightly to make this site easier to find, and a look at lanellama earned the same accessibility upgrade, the small organisational moves I make for sites I expect to return to often are themselves a signal of how much I trust them and this site triggered those moves naturally.

  41. Found the post genuinely useful for something I was working on this week, and a look at nervemuscat added more material I will reference, content that connects to my actual life and work rather than just being interesting in the abstract is the kind I will pay attention to and return to repeatedly.

  42. Took the time to read the comments on this post too and they were also worth reading, and a stop at premiumdesignandliving suggested the community quality matches the content quality, when the conversation around a piece is as good as the piece itself you know you have found a real corner of the internet.

  43. A piece that exhibited the kind of patience that good writing requires, and a look at kelpgrip continued that patient quality, hurried writing is easy to spot and this site reads as having been written without time pressure which produces a different feel than the rushed content that dominates much of the modern blog space.

  44. A quiet piece that did not try to compete on volume, and a look at melqavo maintained that selective approach, sites that publish less but better are increasingly rare in an environment that rewards volume and this one has clearly chosen quality cadence over quantity which is a brave editorial decision in current conditions.

Leave a Reply

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