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)

10,026 Comments

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

  2. Thanks for the practical examples scattered through the post rather than abstract theory only, and a look at learnandgrowprofessionally continued that grounded style, abstract points are easier to remember when paired with concrete situations and the writers here clearly understand how readers actually retain information from blog content reading sessions.

  3. Can I simply say what a relief to discover an individual who genuinely knows what they are discussing on the internet. You actually realize how to bring an issue to light and make it important. More and more people need to read this and understand this side of your story. I can’t believe you’re not more popular given that you definitely possess the gift.

  4. Vague feelings of recognition kept surfacing as I read because the writing names things I have been thinking, and a look at discovernewmarketangles produced more of those recognition moments, content that gives shape to private intuitions is content that makes me feel less alone in my own thinking and this site has that effect.

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

  6. Picked a friend mentally as the audience for this and decided to send the link, and a look at modernonlinepurchase confirmed the send was the right choice, choosing whom to share content with is a small act of curation that I take more seriously than the public sharing most platforms encourage these days online.

  7. However measured this site clears the bar I set for sites I take seriously, and a stop at modegenerlshub continued clearing that bar, the metrics I use for site quality are admittedly informal but they are consistent and this site has cleared them on multiple measurements across multiple visits which is meaningful for my evaluation.

  8. Felt a small spark of recognition when the post named something I had been struggling to articulate, and a look at customerfirstshoppinghub produced more such moments, the rare service of giving readers language for fuzzy intuitions is one of the higher values that good writing can provide and this site offered several today instances.

  9. Appreciate how nothing here feels copied or pieced together from other places, the voice is consistent and the tone stays human, and after I checked modernonlinepurchase I noticed the same style holds, which is a small detail but it makes the whole experience feel personal rather than like another generic site.

  10. Люди подскажите Цены космос а качество мыло То ЛДСП тонкая как картон Короче, нашел наконец нормальное производство — кухни на заказ спб каталог с вариантами Цены ниже салонов на 30% В общем, там каталог и цены — купить кухню в спб недорого https://zakazat-kuhnyu-ktv.ru Проверяйте производителя по этому списку Перешлите тому кто ищет

  11. Felt the writer respected the topic without being precious about it, and a look at clicktoexploreinnovations continued that respectful but unfussy treatment, finding the right register for serious topics is hard and this site has clearly figured out how to take the topic seriously while still being readable for casual visitors regularly.

  12. Bookmarked the page and the homepage too because clearly there is more to explore here, and a quick stop at smartpurchaseecosystem only made that more obvious, this is the kind of place I want to dig through over a weekend rather than rushing through during a coffee break tomorrow morning before getting back to work.

  13. Loved the writing voice here, friendly without being fake and confident without being arrogant, and a stop at longtermvaluepartnership carried the same tone forward, the kind of personality that makes a reader feel welcome rather than lectured at which is a balance plenty of writers struggle to find no matter how long they have been at it.

  14. I appreciate, lead to I discovered exactly what I was having a look for. You’ve ended my 4 day long hunt! God Bless you man. Have a great day. Bye

  15. Started reading and ended an hour later without realising the time had passed, and a look at globalbusinessunity produced the same time dilation effect, when content makes time feel different the writer has achieved something well beyond the average and this site is producing that experience for me reliably across multiple readings.

  16. I appreciate the clarity here, everything is explained in simple terms without unnecessary detail, and after a quick stop at buildyourfuturepath the points came together nicely for me, the writing keeps things straightforward and respects the reader from start to finish without ever talking down to anyone.

  17. Just want to record that this site is entering my regular reading list, and a look at clickforstrategicplanning 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.

  18. Left me wanting to read more rather than feeling burned out, that is a good sign, and a look at futureorientedretailshop 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.

  19. Now adding this to a short list of sites I would defend in a conversation about the modern web, and a look at easypurchasecenter reinforced that defence list, the few sites that serve as evidence the web can still produce good things are precious and this one has clearly joined that small list of exemplary sites.

  20. Genuinely good work, the kind that holds up over multiple readings without losing its appeal, and a stop at zenvani kept that going, definitely a site I will be returning to and probably mentioning to others who work in or care about this particular area of interest today and in coming weeks.

  21. Considered as a whole this site has developed a coherent point of view that comes through in individual pieces, and a look at trustedmarketalliances continued displaying that coherence, sites with a unified perspective rather than a grab bag of takes are sites with editorial maturity and this one has clearly developed that maturity through years of work.

  22. Liked the careful word choice throughout, every term seemed picked for a reason rather than thrown in casually, and a stop at globalretailcommercehub 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.

  23. The use of plain language without dumbing down the topic was really well done, and a look at discovernewdirections continued in that same accessible style, this is something many technical writers fail at because they either confuse their readers or condescend to them but here neither problem appears at all which is impressive really.

  24. Здорова, народ Близкий человек уже две недели в запое Жена рыдает Скорая не приедет на такой вызов Короче, единственные кто взялся за безнадёжный случай — вывод из запоя в стационаре с интенсивной терапией Выписали через неделю здоровым В общем, телефон и цены тут — вывод из запоя в клинике самара https://kapelnicza.vyvod-iz-zapoya-v-stacionare-samara.ru Звоните прямо сейчас Это может спасти жизнь

Leave a Reply

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