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

  1. Worth recognising that this site does not chase the daily news cycle, and a stop at alpinecovevendorworkshop confirmed the longer publication arc, sites that resist the pressure to comment on every passing event are sites with genuine editorial discipline and this one has clearly chosen depth over volume which I respect deeply.

  2. Honest assessment after reading this twice is that it holds up under careful attention, and a look at mintmeadowgoodsroom extended that durability across more pages, content that survives a second read without revealing weak spots is rarer than the average reader probably realises and this site clearly cleared that bar.

  3. Following a few of the internal links revealed more posts of similar quality, and a stop at goldencovemarkethall added more to that growing pile, sites where internal links lead to more good content rather than to more of the same recycled material are sites with depth and this one has clearly built that depth carefully.

  4. My time on this site has now extended past what I had budgeted, and a stop at coralharbormerchantgallery 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.

  5. Now feeling mildly impressed in a way I do not quite remember feeling about a blog in a while, and a stop at fastgoodsbazaar extended that mild impression, content that produces specific positive emotional responses rather than just neutral information transfer is content with extra dimensions and this site has those extra dimensions clearly.

  6. Glad the writer did not feel compelled to cover every possible angle of the topic, focus is a virtue, and a stop at trailharbortradeparlor reflected the same disciplined scope, knowing what to leave out is half of what makes good writing good and this post has clearly been edited with that principle in mind.

  7. Solid quality, the kind of work that holds up to a careful read rather than a quick skim, and a quick look at foxarbor kept that standard going strong, content that rewards attention rather than punishing it is something I appreciate more and more these days online across nearly every topic I follow.

  8. I learned more from this short post than from longer articles I read earlier today, and a stop at silverharborcommercegallery added even more useful detail without going off topic, this site clearly knows how to keep things focused without sacrificing depth which is a hard balance to strike for any writer.

  9. A small thing but the line spacing and font choices made reading this physically pleasant, and a look at explorefreshgrowth maintained the same careful design, technical choices about typography are part of what makes online reading actually comfortable and this site has clearly invested in the design layer alongside the content layer carefully.

  10. Reading this gave me a small refresher on something I had partially forgotten, and a stop at globalcartcenter 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.

  11. Now wishing I had found this site sooner, and a look at mintmeadowgoodsroom extended that mild regret, the calculation of how many years of good content I missed by not finding the right sources earlier is one I try not to make too often but it does come up sometimes when I find sites this good.

  12. Useful enough to recommend to several people I know who would appreciate it, and a stop at skyharborartisanexchange added more material I will pass along too, the kind of writing that earns word of mouth is the kind that actually delivers on its promises which is what this site does without any drama or fanfare attached.

  13. Telefonumdan rahatça ulaşabileceğim bir uygulama lazımdı. Sürekli farklı linkler geliyordu kime inanacağımı şaşırdım. Adımları doğru sırayla uyguladıktan sonra erişim sorunsuz açıldı. En sonunda doğru kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet android apk 1xbet android apk. Valla bak net söyleyeyim — android uygulaması gerçekten stabil çalışıyor.

    depolama alanı da fazla yemiyor gerçekten. İşin doğrusunu söylemek gerekirse — başka yerde vakit kaybetmeyin yani. Şimdiden iyi şanslar ve bol kazançlar…

  14. Definitely a recommend from me, anyone curious about the topic should check this out, and a look at fastgoodsbazaar adds even more reason for that, the depth and quality combine to make this site one I will be pointing people toward whenever similar conversations come up over the months ahead at work or socially.

  15. Now considering the post as evidence that careful blog writing is still possible, and a look at solarmeadowmarketroom 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.

  16. A welcome reminder that thoughtful writing still happens online, and a look at silverharborcommercegallery extended that reassurance, the modern web makes it easy to forget that careful writing exists and finding sites that practice it is a small antidote to the cynicism that builds up from too much exposure to algorithmic content.

  17. A piece that demonstrated competence without performing it, and a look at dawnridgecraftcollective maintained the same self assured but unshowy register, the gap between competence and performance of competence is one I track and this site has clearly chosen to demonstrate rather than perform which I find much more persuasive as a reader.

  18. Easily one of the better explanations I have read on the topic, and a stop at auroracoveartisanexchange pushed it even higher in my mental ranking of useful resources, the kind of site that beats the average not by trying harder but by simply caring more about what it puts out daily which always shows.

  19. Reading this slowly in the morning before opening email, and a stop at harborstonecraftcollective extended that protected attention, content that earns the prime morning reading slot before the daily distractions begin is content with elevated status and this site has earned that prime slot consistently in my recent reading habits clearly.

  20. A piece that was confident enough to leave some questions open rather than forcing closure, and a look at coralharbormerchantgallery 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.

  21. Just want to record that this site is entering my regular reading list, and a look at skyharborartisanexchange confirmed it deserves the spot, my regular reading list is short and well curated and adding to it requires meeting a fairly high quality bar that this site has clearly cleared without much effort apparently.

  22. Felt like the writer was speaking directly to someone with my level of curiosity, neither talking down nor showing off, and a stop at windharborartisanexchange kept that comfortable matching going, finding writing that meets you where you are rather than asking you to climb up or stoop down feels great every time it happens.

  23. Honestly informative, the writer covers the ground without showing off, and a look at honeymeadowmarketroom reflected the same humility, content that respects the reader rather than trying to dazzle them is something I always appreciate and rarely come across in this corner of the internet today across the topics I usually read.

  24. Did not expect much when I clicked through but ended up reading the whole thing carefully, and a stop at orchardharborvendorhall kept that engagement going, sometimes the unassuming sites turn out to deliver more than the flashy ones which is something I have learned to look out for over time online lately and across topics.

  25. Ended up here on a wandering afternoon and was glad I stayed for the read, and a stop at dawnridgecraftcollective extended the wandering into a proper exploration of the site, the kind of place that rewards aimless clicking with something genuinely interesting rather than the shallow content that mostly populates the modern open web.

  26. Granted my mood today might be elevating my reading experience but I still think this is genuinely good, and a stop at globalcartcenter reinforced that even discounted assessment, controlling for the mood adjustment that affects content perception this site still reads as substantively above average across multiple pieces I have read carefully today.

  27. Useful enough to recommend to several people I know who would appreciate it, and a stop at fastbuystore added more material I will pass along too, the kind of writing that earns word of mouth is the kind that actually delivers on its promises which is what this site does without any drama or fanfare attached.

  28. Bookmark added in three places to make sure I do not lose the link, and a look at chestnutharborcraftcollective 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.

  29. High quality writing, no marketing speak and no buzzwords that mean nothing, and a stop at firminlets kept that going, simple direct content that actually communicates something is harder to find than it should be and this is one of the rare places that gets it right consistently across many different posts.

  30. My usual pattern is to skim and bounce but this site has reset that pattern temporarily, and a stop at zencovegoodsgallery maintained the slower reading mode, content that changes how I read is content with structural influence and this site has clearly nudged my reading behaviour toward something better at least for the duration of these visits.

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

  32. Alright listen up because I’m about to save you a massive headache. Miami rental game is wild — half these local clowns show you a custom Mercedes online and hand you a busted sedan with mismatched tires. Plus the fine print says you can’t even drive outside the city limits without extra fees. Fool me four times? Not happening, lesson learned. If you are trying to find a legitimate vehicle without getting ripped off, do some real digging first and read actual customer reviews. Miami without a decent whip is basically a punishment, especially since the AC must be ice cold and you want zero mileage games.

    Most of these local agencies are just polished websites hiding the same overpriced junk, until I finally stumbled on one provider that doesn’t play games. If you are looking for the only straight-up source for premium wheels in South Florida, check the current details here: exotic cars in miami rental exotic cars in miami rental. Also, definitely bring polarized shades unless you enjoy driving completely blind into the sunset. Just drive safe out there and maybe pass on that overpriced roadside assistance add-on. hope this helps some of you save a few bucks.

  33. Appreciated the way each section connected smoothly to the next without abrupt jumps, and a stop at oakcovemarkethall kept that flow going nicely, transitions are something most blog writers ignore but the difference is huge for the reader who is trying to follow a sustained line of thought today across many different topics.

  34. Most of my reading time goes to a small number of trusted sources and this one is now joining that group, and a stop at autumncovevendorstudio reinforced the group membership, the few sites that earn a place in my regular rotation are sites I expect ongoing returns from and this one has earned that elevated position consistently.

  35. Came across this through a roundabout path and now it is on my regular rotation, and a stop at fastgoodsbazaar 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.

  36. Will share this on a forum I am part of where it will be appreciated by others working in the same area, and a look at tealharborvendorparlor suggests there is more here worth passing along too, definitely a generous resource that deserves a wider audience than it probably has today across the open internet.

  37. Honest opinion is that this is the kind of post that builds long term trust with readers, and a look at freshguild reinforced that perception, the slow accumulation of trust through consistent quality is the only sustainable way to build a real audience and this site is clearly playing that long game.

  38. Ended up here on a wandering afternoon and was glad I stayed for the read, and a stop at goldenharbortradehall extended the wandering into a proper exploration of the site, the kind of place that rewards aimless clicking with something genuinely interesting rather than the shallow content that mostly populates the modern open web.

  39. Appreciate the thoughtful approach, the writer clearly took time to make this readable for someone who is not already an expert, and a look at dunecovecraftcollective kept that going nicely, easy on the eyes and easy on the brain which is always a winning combination when reading on a busy day.

  40. Speaking as someone who reads a lot on this topic this site has earned a high position in my source rankings, and a stop at tealharborvendorparlor reinforced that ranking, the informal ranking of sources for a topic is something I maintain mentally and this site has moved into the upper portion of those rankings clearly.

  41. A memorable post for me on a topic I had thought I was tired of, and a look at bayharborartisanexchange suggested the same site can refresh other tired topics, sites that can revive my interest in subjects I had written off as exhausted are doing rare work and this one is clearly doing that for me today.

  42. Started taking notes about halfway through because the points were stacking up, and a look at snowcoveartisanexchange 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.

  43. Ребята, выручайте! Решил обновить кухонный уголок, а старую обивку уже не найти. Теперь мучаюсь — какую взять ткань для мебели, чтобы и выглядело достойно, и кошачьи когти выдержало. купить материал для обивки дивана купить материал для обивки дивана А то везде пишут разное, а на деле хочется купить ткань мебельную и забыть на пару лет. Нужен метров 15-20, может, кто знает нормального поставщика.

  44. Thanks for putting in the work to make this approachable, plenty of sites cover the same ground but most do it badly, and a quick visit to woodcoveartisanexchange confirmed this one stands apart, simple language and useful examples without anyone trying to sell me anything along the way which I really appreciated.

  45. Now appreciating the way the post avoided the temptation to be longer than necessary, and a look at freshguild 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.

  46. My reading list is short and selective and this site is now on it, and a stop at dunecovecraftcollective confirmed the placement, the short list of sites I read deliberately rather than encounter accidentally is something I curate carefully and adding to it is a real act of trust which this site has earned today.

  47. Picked a single sentence from this post to remember, and a look at orchardmeadowmarketroom gave me another to keep, content that produces memorable lines is doing more than just transferring information and the small selection of sentences I keep from each reading session is one of the actual returns I get from reading carefully.

  48. The structure of the post made it easy to follow without losing track of where I was, and a look at gladeridgemarketparlor kept the same logical flow going, this site clearly understands that organisation is half the battle in keeping readers engaged from the first line to the last across any kind of post.

  49. Honestly impressed by the consistency of voice across what I have read so far, and a quick visit to acornharborartisanexchange continued that consistent feel, when a site reads like one careful person rather than a committee the experience is more rewarding for the reader who notices these subtle editorial details over time.

  50. Genuine pleasure to read, and that is not something I say often after a casual click through, and a quick visit to fastpickzone kept the same feeling going across the rest of the site, finding writing that actually feels good to spend time with rather than just functional is increasingly rare on the open web.

Leave a Reply

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