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. Decided to set a calendar reminder to revisit, and a stop at loudmark extended that revisit list, calendar entries for content are a level of commitment I rarely make but when I do they signal a higher regard than a simple bookmark and this site has earned that calendar tier of relationship from me today.

  2. Now appreciating that the post did not require me to agree with the writer to find it valuable, and a look at cloverharborvendorparlor maintained the same useful regardless of agreement quality, content that informs even when it does not convince is content with broader utility and this site reads as useful even when I disagree.

  3. Well done, the writing is professional without being stiff, and the topic is treated with care, and a look at ideaelevation reflected that approach, the kind of site I would point a colleague to if they asked for a reliable starting point on this topic in the future without any hesitation at all.

  4. ThomasAporo ThomasAporo

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

  5. Robertpom Robertpom

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

  6. Now appreciating the way the post avoided the temptation to be longer than necessary, and a look at actionbuildsresults continued that lean approach, content with the discipline to stop when finished rather than padding for length is content that respects both itself and its readers and this site has that disciplined editorial culture clearly throughout.

  7. A piece that ended with a clean landing rather than fading out, and a look at cloverhedge maintained the same crisp conclusions, endings that resolve rather than dissolve are a sign of careful structural thinking and this site has clearly invested in how its pieces conclude rather than letting them simply run out of energy.

  8. Thanks for putting this online without locking it behind email signups or paywalls, and a quick visit to borealberyl kept that open feel going, content that trusts the reader to come back rather than gating access is the kind of approach I will reward with regular return visits over time happily.

  9. Reading this triggered a small reorganisation of my own thinking on the topic, and a stop at forwardthinkingworks furthered that reorganisation, content that affects the shape of my mental model rather than just decorating it with new facts is content with structural rather than informational impact and this site provides that.

  10. Held my interest from the opening line through to the closing thought, and a stop at claritylane did the same, content that earns sustained attention in an environment full of distractions is doing something right and this site is clearly doing several things right rather than just one or two which I really appreciate.

  11. Clean writing, easy to read, and never tries too hard to impress, that combination is harder to find than people think, and after my time on cloverhedge I am sure this site treats its readers well, no flashy tricks just useful content done right which is honestly all I want online.

  12. A genuine compliment to the writer for keeping the post focused on what mattered, and a look at bagelcameo 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.

  13. Most of the time I feel the open web is in decline and then I find a site like this, and a stop at momentumexecution reinforced that mood lift, the cumulative effect of finding occasional excellent independent content versus the cumulative effect of finding mostly mediocre content is real for the long term reader maintaining web habits today.

  14. Generally I find the content on similar topics frustrating in specific ways and this post avoided all of them, and a look at claritysystem continued that frustration free experience, content that sidesteps the standard failure modes of its genre is content with editorial awareness and this site has clearly studied what fails elsewhere consistently.

  15. Its such aas yyou read myy thoughts! Youu seem too know sso mych about this, likoe
    youu wrore thee eboook iin itt orr something. I think that youu
    just could ddo wioth soime perceent too power tthe message
    house a little bit, buut instead off that,this iss grat blog.
    A fantastic read. I’ll definitely bbe back.
    ofvd9wuaptihqc6qlc8e

  16. Michaelsed Michaelsed

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

  17. Stayed longer than planned because each section earned the next, and a look at focuspathway kept that pulling effect going across more pages, the kind of subtle pull that good writing exerts on attention is something I find harder and harder to resist when I encounter it on the open web today.

  18. Closed it feeling I had taken something away rather than just consumed something, and a stop at explorefreshstrategies extended that taking away feeling, the difference between content I extract value from and content I just pass through is something I track informally and this site is consistently in the value extraction column for me.

  19. Thanks for the readable length, I finished it without checking how much was left, and a stop at focusdesign kept me reading the same way, when I stop noticing the length of a piece because the content is engaging enough to sustain attention without willpower the writer has done their job well today.

  20. My time on this site has now extended past what I had budgeted, and a stop at dawnridgegoodsroom keeps extending it further, content that overstays its budget in my schedule is content that has earned the extra time and this site has been earning extra time across multiple visits to the point where my schedule needs adjustment.

  21. I came here looking for a quick answer and ended up reading the whole post because it was actually interesting, and after pearlcovemarketgallery 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.

  22. Skipped the TLDR thinking I would read everything anyway, and ended up enjoying the path through the full post, and a stop at flintanchor similarly rewarded the patient read, summaries are useful but the journey through good writing is part of what makes the destination feel earned rather than just delivered cleanly.

  23. Now feeling the small relief of finding writing that does not condescend, and a stop at gumboacorn extended that respect for readers, content that treats its audience as capable adults rather than as people to be managed produces a different reading experience and this site has clearly chosen the respectful approach across all pieces.

  24. Cuts through the usual marketing fluff that dominates this topic online, and a stop at growthmomentum kept the same clean approach going, this is the kind of writing that respects the reader’s time rather than wasting it on repetitive setups before finally getting to the point at hand which is what most sites do.

  25. Even from a single post the editorial care is clear, and a stop at borealelfin 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.

  26. If you scroll past this site without looking carefully you will miss something, and a stop at camelcinder extended that mild warning, the surface of the site does not advertise its quality loudly which means careful attention is required to recognise what is being offered here which is itself a kind of editorial signal.

  27. Found the section structure particularly thoughtful, and a stop at clarityengine suggested the same care across the broader site, structural choices guide the reader through the material in ways most people do not consciously notice but feel the absence of when those choices are made carelessly or not at all.

  28. Approaching this site through a casual link click and being surprised by what I found, and a look at growthmomentum extended the surprise, the rare experience of stumbling into excellent independent content rather than predictable mediocrity is one of the actual remaining pleasures of casual web browsing and this site provided it cleanly.

  29. Came away with a small but real shift in perspective on the topic, and a stop at directionpowersmomentum pushed that shift a bit further, the kind of subtle reframing that good writing does to a reader without making a big deal of it is something I always appreciate when it happens which is sadly not that often.

  30. Generally I do not leave comments but this post merits a small note, and a stop at focusmomentum extended that comment worthy quality, the urge to actively contribute to a sites community rather than passively consume from it is something specific content provokes and this site has provoked that engagement urge from me today.

  31. Reading this brought back an idea I had set aside months ago, and a stop at balsacougar added more substance to that idea, content that revives dormant projects in my own thinking is content with serious creative value and this site is contributing to my own work in ways I had not expected when first clicking through.

  32. Speaking from the perspective of a fairly demanding reader the writing here clears the bar consistently, and a look at camelcinder continued clearing that bar, the calibration of demanding reader is something I apply to all sources and this site has been one of the few that handles the demanding reading well across pieces sampled.

  33. Now leaving a small mental note to recommend this when the topic comes up in conversation, and a look at rubyorchardtradegallery extended that recommend ready feeling, content that arms me with shareable references for likely future conversations is content with social value and this site is providing that conversational ammunition consistently for me lately.

  34. Honestly this kind of writing is why I still bother to read independent sites, and a look at focusactivation extended that broader reflection, the few sites that justify continued attention to non algorithmic content are sites like this one and finding them periodically is enough to keep my reading habits oriented toward independent rather than aggregated content.

  35. Now appreciating that the post left me with enough to say in a follow up conversation, and a look at focusmomentum added more material for those follow ups, content that prepares me for related conversations rather than just informing me alone is content with social utility and this site provides that social armament reliably for me.

  36. JeremyCix JeremyCix

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

  37. Came away with a small but real shift in perspective on the topic, and a stop at strategybuilder pushed that shift a bit further, the kind of subtle reframing that good writing does to a reader without making a big deal of it is something I always appreciate when it happens which is sadly not that often.

  38. Skipped a meeting reminder to finish the post, and a stop at gumbofeather 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.

  39. DanielOVelm DanielOVelm

    Публикация охватывает основные направления развития современной медицины. Мы обсудим значимость научных исследований, инноваций в лечении и роли общественного участия в формировании системы здравоохранения.
    Всё, что нужно знать – kursk clinica plus

  40. Honestly this kind of writing is why I still bother to read independent sites, and a look at focusactivation extended that broader reflection, the few sites that justify continued attention to non algorithmic content are sites like this one and finding them periodically is enough to keep my reading habits oriented toward independent rather than aggregated content.

  41. Larrypaits Larrypaits

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

  42. I wanted to check up and let you know how, a great deal I cherished discovering your blog today. I might consider it an honor to work at my office and be able to utilize the tips provided on your blog and also be a part of visitors’ reviews like this. Should a position associated with guest writer become on offer at your end, make sure you let me know.

  43. Came across this looking for something else entirely and ended up reading it through twice, and a look at loungepierce 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.

  44. Refreshing to read something where the words actually mean something instead of filling space, and a stop at focuspowersmomentum kept that going, the writing here trusts the reader to follow along without endless repetition or constant reminders of what was already said earlier in the post which I appreciate.

  45. Thanks for the readable length, I finished it without checking how much was left, and a stop at ideaswithdirection kept me reading the same way, when I stop noticing the length of a piece because the content is engaging enough to sustain attention without willpower the writer has done their job well today.

  46. Looking at this objectively the editorial quality is hard to deny even setting aside personal taste, and a stop at cobblebuckle maintained the same objective quality, the gap between what I personally enjoy and what is objectively well crafted exists and this site clears both bars simultaneously which is rarer than it sounds.

  47. Thanks for a post that does not try to be funny when it is not the moment for it, and a stop at gingercovegoodsroom maintained the same appropriate seriousness, knowing when humour helps and when it just signals desperation for engagement is a sign of editorial maturity that many blogs have not developed yet.

  48. Now setting up a small reminder to revisit the site on a slow day, and a stop at forwardactivation confirmed the reminder was a good idea, planning return visits is a small organisational act that signals trust in ongoing quality and this site has earned that planned return through consistent performance across the pieces I have read so far.

Leave a Reply

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