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

  1. Stands apart from similar pages by actually being useful, that is high praise these days, and a look at learnanddevelopquickly kept that standard going, you can tell when a site is built around the reader versus around metrics and this one clearly belongs to the first category for sure based on what I read.

  2. Appreciate that you did not pad this with fluff to hit a word count, the post says what it needs to say and stops, and a look at buildfocusedprogress did the same, brevity here feels intentional not lazy which is a distinction many writers miss completely sometimes when they are working under deadlines.

  3. Worth recommending broadly to anyone who reads on the topic, and a look at buildfocusedgrowth only confirms that, the rare combination of accessibility and depth in this site makes it suitable for both newcomers and people who already know the area which is hard to pull off in any blog format today and rarely managed.

  4. DouglasZEx DouglasZEx

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

  5. Started forming counter examples to test the claims and the post handled most of them implicitly, and a look at hyxarch continued that anticipatory style, writers who think two steps ahead of the critical reader save themselves from a lot of follow up work and this writer has clearly internalised that habit consistently.

  6. A quiet kind of confidence runs through the writing, and a look at startyourgrowthpath carried that same understated assurance, confidence without bragging is the most attractive register for online writing and the writers here have clearly developed it through practice rather than affecting it through stylistic tricks that would feel hollow eventually.

  7. Really appreciate that the writer did not stretch the post to hit some target word count, the points end when they are made, and a stop at discoverforwardmomentum reflected the same discipline, brevity is generosity in disguise and this site has clearly figured that out far better than most blog operations have.

  8. Just sat back at the end of the post and felt grateful that someone took the time to write it, and a look at learnandtransformdirection 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.

  9. Beyond the topic at hand this site reads as a small ongoing project of taking writing seriously, and a look at mochamarket reinforced that project quality, sites that treat publishing as an ongoing serious practice rather than as content production for traffic are sites worth supporting and this one has clearly chosen the serious approach.

  10. This is really interesting, You are a very skilled blogger. I have joined your rss feed and look forward to seeking more of your wonderful post. Also, I’ve shared your website in my social networks!

  11. Honestly thank you to whoever wrote this because it scratched an itch I had not quite been able to articulate, and a stop at learnandtransformdirection 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.

  12. If quality blog writing is dying as people sometimes claim then this site is one piece of evidence that it has not died yet, and a look at createclaritysystems extended that evidence, the broader cultural question about online writing has empirical answers in specific sites and this one is contributing to a more optimistic answer overall.

  13. Liked that the post landed without needing to manufacture controversy or take a contrarian stance for attention, and a stop at buildideasforward 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.

  14. Most posts I read end up forgotten within a day but this one is sticking, and a look at discoverinnovativeideas extended that lingering effect, content that survives the immediate moment of reading rather than evaporating is content with genuine retention quality and this site has been producing memorable pieces at a rate notable across my reading.

  15. Now adding this to a list of sites I want to see flourish, and a stop at startthinkingbigger reinforced that wish, the few sites I actively root for are sites that produce the kind of work I want more of in the world and this one has joined that small list based on what I have read so far.

  16. Really like that there are no exclamation marks or all caps shouting throughout the post, and a quick visit to discovergrowthmindset maintained the same calm voice, restraint in punctuation signals confidence in the content and this site clearly trusts its substance to do the persuading rather than relying on typographic emphasis.

  17. Glad to have another reliable bookmark for this topic, and a look at jebyam suggested several more pages I will be marking too, building a personal library of trustworthy resources is one of the actual rewards of careful browsing and this site is earning a place on my permanent shortlist for the topic.

  18. Now understanding why someone recommended this site to me a while back, and a stop at growwithclaritynow 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.

  19. Felt like the post had been edited rather than just drafted and published, and a stop at findyourtruefocus suggested the same care across the site, the difference between edited and unedited content is enormous for the reader and this site has clearly invested in the editing pass that most blogs skip entirely which really does show up.

  20. Liked the balance between depth and brevity, never too shallow and never too long, and a stop at learnandtransformfast kept the same balance going across the rest of the site, this is one of the harder skills in writing and the team here clearly has it figured out very well indeed across every page.

  21. Recommended without hesitation if you care about careful coverage of this topic, and a stop at createvisionexecution reinforced the recommendation, the bar I set for unhesitating recommendations is fairly high and this site has cleared it through the cumulative weight of multiple consistently good pieces rather than through any single standout post which is meaningful.

  22. Took something from this I did not expect to find, and a stop at startthinkingstrategically added another unexpected useful piece, content that exceeds expectations rather than just meeting them is the kind that builds enthusiasm and earns repeat visits without any explicit ask from the writer or platform behind the work being read.

  23. Most of the time I feel the open web is in decline and then I find a site like this, and a stop at hyxbrook 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.

  24. A small editorial detail caught my attention, the way headings related to body text, and a look at coppercrown maintained that careful relationship, structural details like that show up to readers who notice them and the writers here have clearly thought about every level of the piece rather than just the words.

  25. Adding this to my list of go to references for the topic, and a stop at discovernewdirectionnow 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.

  26. Looking at the surface design and the substance together this site has both right, and a look at learnandexecuteclearly reinforced that integrated quality, sites where presentation and content reinforce each other rather than fighting are sites with full editorial coherence and this one has clearly invested in both layers in a balanced way.

  27. Now planning to come back when I have the right kind of attention to read carefully, and a stop at topazstrict reinforced that plan, choosing the right moment to read certain content is a quiet form of respect for the work and this site is generating those careful planning behaviours from me consistently as a reader.

  28. Reading this gave me a small refresher on something I had partially forgotten, and a stop at learnandexecuteclearly extended the refresher, content that strengthens existing knowledge rather than just adding new is content with a particular kind of consolidating value and this site is providing that consolidating function across multiple visits.

  29. Felt the writer respected me as a reader without making a show of doing so, and a look at learnandoptimizegrowthpath 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.

  30. Quality you can feel from the first paragraph, the writer clearly knows the topic and how to share it, and a quick look at explorefreshstrategicpaths confirmed the same depth runs throughout the rest of the site as well which is rare and worth pointing out when it happens online for any reader passing through.

  31. Now noticing the post fit a particular gap in my reading without my having articulated the gap before, and a look at hyxbrook extended that gap filling effect, content that meets needs I had not consciously formulated is content with reader insight and this site has clearly developed that anticipatory editorial sense across many pieces.

  32. Started taking notes about halfway through because the points were stacking up, and a look at growwithstrategyintent added enough material that my notes file grew further, content that demands note taking from a passive reader is content with substance and the writers here are clearly producing that kind of work consistently across topics.

  33. Reading this between two meetings turned out to be the highlight of the morning, and a stop at growintentionallyforward 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.

  34. Learned something from this without having to dig through layers of fluff, and a stop at growresultsoriented added a bit more context that helped tie things together for me, definitely a useful corner of the internet for anyone who wants real information without the usual marketing nonsense around it that often ruins similar pages.

  35. Left me wanting to read more rather than feeling burned out, that is a good sign, and a look at findgrowthpotential confirmed there is plenty more here to explore, the kind of writing that builds appetite rather than killing it which is a rare quality on the modern open internet today across most categories of content.

  36. Worth observing that the post landed without needing a flashy headline to hook attention, and a stop at growwithstrategyintent did the same, content that earns engagement through substance rather than packaging is the kind I trust more deeply and this site has clearly chosen substance as the primary lever for reader engagement throughout.

  37. Reading this prompted a brief but useful conversation with a colleague who happened to walk by, and a stop at createprogressmappingnow extended that conversational seed, content that becomes a starting point for in person discussion rather than ending in solitary reading is content with social generative energy and this site has plenty of it apparently.

  38. Beyond the immediate post itself the editorial sensibility behind the site is what struck me, and a stop at startpurposefullynow continued displaying that sensibility, content that reveals editorial choices through accumulated reading is content with structural quality and this site has clearly developed an underlying approach worth identifying through multiple sessions of reading.

  39. Glad I gave this a chance rather than scrolling past, and a stop at explorefutureopportunity confirmed I made the right call, sometimes the best content is hidden behind unassuming headlines that do not scream for attention and learning to slow down and check those out has paid off many times now across years of reading.

  40. Bookmark earned and shared the link with one specific person who would care, and a look at growintentionallyforward got the same targeted share, sharing carefully rather than broadcasting is a discipline I try to maintain and this site is generating shares from me at a sustainable rate rather than the spam rate of viral content.

  41. Reading this gave me a small framework I expect to use going forward, and a stop at growresultsfocused extended that framework, content that produces transferable mental models rather than just specific facts is content with multiplicative value and this site is providing those models at a rate that justifies extra attention from me regularly.

  42. Decided this was the kind of site I would defend in a discussion about good blog content, and a stop at growresultsoriented reinforced that, very few sites earn active defence rather than passive consumption and this one has clearly crossed that threshold for me without needing any explicit pitch from the writers themselves either.

  43. More original than the recycled takes I keep finding on the topic elsewhere, and a quick look at createprogressframework confirmed it, the kind of site that has its own voice rather than echoing whatever is trending which makes it stand out as a refreshing change from the usual rotation of generic content I see daily.

  44. A handful of memorable phrases from this one I will probably use later, and a look at seogrove added a couple more, content that contributes language to my own communication rather than just facts is content with a different kind of utility and this site is providing that linguistic utility consistently across what I read.

  45. Слушайте, кому актуально, толковый разбор. Многие спрашивали, делюсь полезной ссылкой: melbet скачать ios.

    Этот букмекер предлагает отличные условия для игроков, линия на футбол и теннис огромная. К тому же есть нормальные live-ставки.

    Если только заводите аккаунт активируется стартовый фрибет, так что можно затестить. Что думаете?

  46. A welcome contrast to the loud takes that have dominated my feed lately, and a look at startyourjourneynow extended that calm voice, content that arrives without yelling has become unusual in the modern attention economy and this site is one of the few places I have found that consistently delivers without raising its voice.

  47. A nicely understated post that does not shout for attention, and a look at discoverfreshopportunities maintained the same quiet quality, understatement is a stylistic choice that distinguishes serious writing from attention seeking writing and this site has clearly committed to the understated approach as a core editorial value rather than just a phase.

  48. Started reading skeptically because the headline seemed overconfident, and the post earned the headline by the end, and a look at isebrook continued that pattern of earning its claims, sites that can back up their headlines without overpromising are rare and this one has clearly developed editorial calibration on that front consistently.

Leave a Reply

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