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)

6,124 Comments

  1. Liked the careful word choice throughout, every term seemed picked for a reason rather than thrown in casually, and a stop at flintmeadowmarketparlor continued that precise style, this kind of attention to small details is what separates careful writing from the usual rushed content that dominates blog spaces today across pretty much every topic I follow.

  2. Really appreciate this kind of writing, no shouting and no clickbait headlines just steady useful content, and a quick look at amberridgevendorlounge kept that going, definitely a site I will be returning to whenever I need a sensible take on similar topics in the days ahead and also during slower work weeks.

  3. Trust me, I’ve learned everything the hard way so you don’t have to. Then you actually show up to the local office to grab the keys. Plus they put a surprise $4000 hold on your card and say it’ll take two weeks to release right before giving you the keys. Eleven years in South Florida and these clowns still almost get me. If you are trying to find a legitimate luxury fleet without getting ripped off, avoid the airport like the plague. Miami without proper wheels is basically a disaster, whether you are doing Key Biscayne sunset, Design District shopping, or a spontaneous drive down to the Everglades.

    I’ve tested maybe 60 rental companies across Dade, Broward, and Collier, until I finally found one outfit that actually delivers what’s in the photos. If you are looking for the only honest source for premium rides across South Florida, check the current details here: rent a porsche near me https://luxury-car-rental-miami-11.com. Yeah, parking in South Beach will cost you a nice bottle of champagne — but that’s the Miami tax. Just drive safe out there and definitely skip that “tire and wheel” upsell — pure profit for them, zero value for you. let me know if you guys have any other clean spots.

  4. Worth recognising that this site does not chase the daily news cycle, and a stop at chestnutharborvendorstudio 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.

  5. 1xbet indir nasıl yapılır diye çok araştırdım valla. Apk’yı nereden indireceğimi bilemedim bir türlü. Güncel bilgileri kontrol edip süreci hatasız başlattım. En sonunda sağlam bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet mobii 1xbet mobii. Şimdi size kısaca özet geçeyim — mobil uygulaması gerçekten akıcı çalışıyor.

    güncellemeleri de düzenli geliyor. İşin doğrusunu söylemek gerekirse — kesinlikle pişman olmazsınız deneyin derim. Herkese hayırlı olsun…

  6. If I were to recommend a starting point for the topic this site would be near the top of my list, and a stop at flintmeadowmarketparlor reinforced that recommendation status, the small list of starting point recommendations I keep for friends asking about topics is short and this site is now firmly on it.

  7. Honest reaction is that this is the kind of writing I would defend in a conversation about good blog content, and a look at premiumcartarena reinforced that, the rare site whose work I would actively recommend rather than just tolerate is the kind I want to support through return visits regularly.

  8. My reading list is short and selective and this site is now on it, and a stop at uplandcovevendorparlor 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.

  9. Picked this for a morning recommendation in our company chat, and a look at amberridgevendorlounge suggested I will mention this site again later, recommending content into a workplace context is a small editorial act that requires confidence in the recommendation and this site is making me confident in those recommendations consistently here too.

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

  11. Took a chance on the headline and was rewarded, and a stop at coralharborartisanexchange kept the rewards coming as I clicked through, the kind of place where every link leads somewhere worth the click is a small luxury on the modern web where so many sites are mostly empty calories disguised as content.

  12. Without overstating it this is a quietly excellent post, and a look at amberridgecommercegallery extended that quiet excellence, content that earns superlatives without demanding them through marketing language is content that has truly earned them through the substance and this site has clearly produced work in that earned excellence category today.

  13. Reading this slowly to give it the attention it deserved, and a stop at chestnutharborvendorstudio earned the same slow read, choosing to read slowly is a small act of respect for content quality and very few sites earn that respect from me but this one did so without any explicit ask which is the cleanest way.

  14. A piece that earned its conclusions through the body rather than asserting them at the end, and a look at emberstonevendorlounge maintained the same earned quality, conclusions that follow from what came before are more persuasive than declarations and this site has clearly internalised that principle in how it constructs arguments throughout pieces.

  15. Glad I stumbled across this post, the explanations actually make sense without needing background knowledge to follow along, and after a stop at lakequill the same was true there, no assumptions about the reader just clear writing that anyone can understand from the first line right through to the end.

  16. A well calibrated piece that knew its scope and stayed inside it, and a look at premiumcartarena maintained the same scope discipline, scope creep is one of the failure modes of long blog posts and this site has clearly invested in the editorial discipline to prevent it which shows up in tightly contained pieces.

  17. Bookmark earned and shared the link with one specific person who would care, and a look at uplandcovevendorparlor 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.

  18. Really appreciate the confidence to make a clear point rather than hedging everything, and a quick visit to silverharborvendorhall maintained the same direct stance, writing that takes positions rather than equivocating is more useful even when the positions are debatable because at least the reader has something to react to clearly.

  19. Felt the post had been quietly polished rather than aggressively styled, and a look at timbertrailcraftcollective confirmed the same understated polish, sites whose quality reveals itself slowly rather than announcing itself loudly are the kind I trust more deeply because the trust is not based on first impressions of marketing but actual substance.

  20. Excellent execution from start to finish, the post never loses its rhythm and the points stay sharp, and a quick stop at crystalharborvendorhall kept the same level going, consistency like this across a site is the marker of a serious operation rather than a casual side project running on autopilot somewhere else.

  21. Now appreciating that the post left me with enough to say in a follow up conversation, and a look at moveintoprogress 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.

  22. Skipped the comments section but might come back to read it, and a stop at progressthroughfocus hinted at a quality reader community, sites where the comments are worth reading separately from the post are increasingly rare and signal a particular kind of audience that has grown around the editorial vision over time gradually.

  23. Everything is very open with a very clear explanation of the
    issues. It was truly informative. Your website is extremely helpful.

    Thank you for sharing!

  24. The conclusions felt earned rather than tacked on at the end like an afterthought, and a look at coralharborartisanexchange kept that careful structure going, you can tell when a writer has thought about the shape of their post versus just letting it ramble out and hoping for the best at the end which most do.

Leave a Reply

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