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)
Just wanted to drop a quick note saying this was a useful read on a topic I have been circling, no fluff, and a stop at brightpathcorner added a few extra points that fit the same simple style which makes the whole site feel coherent rather than thrown together by many different writers with different goals.
Came across this and immediately thought of a friend who would enjoy it, and a stop at discoverfashionhub also reminded me of someone, content that triggers the urge to share is content that has earned my recommendation and this site has earned multiple from me already across different conversations during the week.
Felt energised after reading rather than drained, which is unusual for online content these days, and a look at sunrisehillcorner continued that good feeling, content that leaves you better than it found you is rare and worth bookmarking when you stumble across it for the first time today or any other day really.
Really like the way the post resists reaching for cliches that would have made it feel generic, and a quick visit to everattic kept that fresh feel going, original phrasing and unexpected metaphors are signs that the writer is actually thinking rather than just stitching together familiar phrases into the appearance of content.
Really appreciate the absence of stock photos that have nothing to do with the content, and a quick visit to discoverfashionhub maintained the same restraint, visual filler is a tell that the writing cannot stand on its own and the lack of it here suggests the team has confidence in their content quality alone.
Found the writing surprisingly fresh for what is by now a well covered topic, and a stop at moonfieldboutique kept that freshness going across the related pages, original perspective on familiar ground is hard to come by and this site has clearly earned its place in the conversation rather than just rehashing old ideas.
Solid value for anyone willing to read carefully, and a look at benningtonareaartscouncil extends that value across the rest of the site, this is the kind of place that rewards return visits rather than offering everything in a single splashy post and then leaving readers nothing to come back for later which is unfortunately common.
Decided this was the kind of site I would defend in a discussion about good blog content, and a stop at ivypiers 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.
Picked this site to mention to a colleague who would benefit, and a look at edendunes added more material I will pass along, recommending sites to colleagues is a higher bar than recommending to friends because the professional context demands more careful curation and this site cleared the professional bar without me having to think.
Started forming counter examples to test the claims and the post handled most of them implicitly, and a look at neatmill 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.
Quietly impressive in a way that does not announce itself, and a stop at deathrayvision extended that quiet impressiveness, the kind of quality that emerges through sustained attention rather than first impressions is the kind I trust more deeply and this site has been earning that deeper trust across multiple sessions over time consistently.
Reading this prompted me to dig into a related topic later, and a stop at foxarbor provided some of the starting points for that follow up reading, content that triggers further exploration rather than satisfying curiosity completely is content with real generative energy and this site has plenty of that energy throughout it.
Felt like the post had been edited rather than just drafted and published, and a stop at knightstablefoodpantry 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.
A piece that exhibited the kind of patience that good writing requires, and a look at jammykspeaks continued that patient quality, hurried writing is easy to spot and this site reads as having been written without time pressure which produces a different feel than the rushed content that dominates much of the modern blog space.
Looking through the archives suggests this site has been doing this for a while at this level, and a look at knackdome confirmed the long term consistency, sites that have maintained quality across years rather than just a recent stretch are sites with serious editorial discipline and this one has clearly been at it for a while.
Worth pointing out that the writing reads as confident without being defensive about it, and a look at neatmill extended that secure tone, content that does not pre emptively argue against imagined critics has a different quality from defensive writing and this site reads as written from a place of real ease.
The structure of the post made it easy to follow without losing track of where I was, and a look at softevergreen 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.
Reading this slowly because the writing rewards a slower pace, and a stop at northerncreststudio did the same, the pace at which I read content is something I now use as a quality signal and writing that earns a slower pace earns my attention as a reader looking for substance these days.
Now recognising that this site has earned a place in the small group of resources I treat as authoritative, and a stop at quinttatro confirmed that placement, the difference between resources I trust and resources I just consume is real and this site has clearly moved into the trusted category through consistent quality over time.
Glad the writer kept this short rather than padding it out, the points stand on their own without needing extra context, and a look at leafdawns kept the same approach going, brevity is a sign of confidence in the substance and the team here clearly trusts their content to land without filler.
Appreciate the practical examples, they made the abstract points easier to grasp, and a stop at yourdailyfinds added more of the same, this site clearly understands that real examples beat empty theory every single time which is the mark of a writer who knows their audience well and respects their time.
Solid endorsement from me, the writing earns it, and a look at midriverdesigns continues to earn it across the broader site too, the kind of operation that maintains quality across many pages rather than just one viral post is a sign of serious commitment and that is what I see here clearly across what I read.
Reading this in a quiet hour and finding it suited the quiet, and a stop at lakequills extended the quiet reading mood, content that matches its own optimal reading conditions rather than fighting them is content that has been thoughtfully calibrated and this site reads as having a particular reading mood in mind throughout.
On reflection this is the kind of writing that improves my taste for what is possible in the format, and a look at knackpact continued raising that bar, content that elevates my expectations rather than lowering them is doing important work in calibrating my standards and this site is participating in that elevation reliably.
Most of the time I bounce off similar pages within seconds, and a stop at wildnorthoutlet held me longer than I would have predicted, the ability to convert a likely bouncing visitor into an engaged reader is a quality signal and this site has demonstrated that conversion ability across multiple visits where I expected to bounce.
Coming back tomorrow when I can give this a proper read, the post deserves better attention than I can give right now, and a look at goldenwillowhouse suggests there is plenty more here that deserves the same treatment, definitely a site I will be exploring properly over the next few days when I can.
Now feeling that this site is the kind I want to make sure does not disappear, and a look at moderncuratedessentials reinforced that quiet protective feeling, the rare sites whose disappearance would actually matter to me are the sites I want to support through return visits and recommendations and this one has joined that small protected list.
Felt like the writer was speaking directly to someone with my level of curiosity, neither talking down nor showing off, and a stop at eliteledge 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.
Reading this back to back with a similar piece elsewhere made the quality difference obvious, and a stop at loopboughs only widened the gap, comparing content side by side is a useful exercise and the gap between this site and average competitors in the space is large enough to be noticeable from the first paragraph.
Genuine reaction is that this site clicked with how I like to read, and a look at lobbydawns kept that comfortable fit going, sometimes you find a place online whose editorial decisions just align with your preferences and when that happens it is worth recognising and supporting through repeat engagement consistently going forward.
Generally my comment to other readers about new sites is to wait and see but for this one I would jump to recommend now, and a look at etheraisles reinforced that early recommendation, the speed at which a site earns my recommendation is itself a quality signal and this one has earned mine quickly clearly.
Thanks for the practical examples scattered through the post rather than abstract theory only, and a look at lacecabin 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.
Bookmarking this for later, the kind of resource I want to keep nearby, and a quick look at epicestate confirmed the rest of the site is worth the same treatment, definitely going into my reference folder for the next time the topic comes up at work or in conversation with someone who asks.
Definitely returning here, that is decided, and a look at rockyrose only made the case stronger, this is one of those rare websites that rewards regular visits rather than feeling stale after the first read which is something I cannot say about most of the places I bookmark today across all my topics.
Bookmark added without hesitation after finishing, and a look at urbanleafoutlet confirmed I should bookmark the homepage too rather than just this page, the rare site that earns category level trust rather than just single article approval is the kind I want to rely on across many different topics over time.
Worth marking the moment when reading this clicked into something useful for my own work, and a look at pactcliffs extended that practical click, content that connects to my actual life rather than just being interesting is content with the highest kind of value and this site is generating that connection at a high rate.
If I had to defend the time I spend reading independent blogs this site would feature in the defence, and a look at christmasatthewindmill reinforced that defensive utility, the ongoing case for non algorithmic reading is one I make to myself periodically and sites like this one provide the actual evidence that supports the case clearly.
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 novalog reflected the same discipline, brevity is generosity in disguise and this site has clearly figured that out far better than most blog operations have.
Held my interest from the opening line through to the closing thought, and a stop at pactcliffs 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.
Decided this was the best thing I had read all morning, and a stop at christmasatthewindmill kept that ranking intact, ranking my reading is something I do mentally throughout the day and the top rank is competitive and not easily won but this site won it without needing to overstate its claims for that.
Probably this is one of the better quiet successes on the open web at the moment, and a look at flarefoils reinforced that quiet success quality, sites that are doing well without making a noise about doing well are the sites I most respect and this one has clearly chosen the quiet success path consistently throughout.
Honestly thank you to whoever wrote this because it scratched an itch I had not quite been able to articulate, and a stop at lacehelm 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.
A piece that respected the reader by not over explaining the obvious, and a look at electlarryarata continued that calibrated approach, finding the right level of explanation is one of the harder editorial calls and this site has clearly thought carefully about what readers will already know versus what they need help with consistently.
Thanks for the honest framing without exaggerated claims that the topic will change my life, and a stop at boldharborstudio kept the same modest tone, restraint in marketing language signals trustworthiness and the writers here are clearly playing the long game by building credibility rather than chasing immediate clicks through hyperbole.
Pleasant surprise, the post delivered more than the headline promised, and a stop at urbanmistcollective continued that pattern of under promising and over delivering, the rarest combination on the modern web where most content does the opposite by promising the world and delivering thin recycled summaries instead each time you click on something interesting.
Found something quietly useful here that I expect to return to, and a stop at flarefoils added more of the same, content with quiet utility ages well in a way that flashy hot takes do not and I have learned to weight quiet utility much higher when deciding what to bookmark for later use.
Such writing is increasingly rare and worth supporting through attention, and a stop at freshtrendstore extended that supportive attention across more pages, the conscious choice to spend time on sites that produce careful work rather than convenient consumption is itself a small form of patronage and this site is receiving that conscious patronage from me.
Pleasant surprise, the post delivered more than the headline promised, and a stop at galafactor continued that pattern of under promising and over delivering, the rarest combination on the modern web where most content does the opposite by promising the world and delivering thin recycled summaries instead each time you click on something interesting.
Felt this in a way I cannot quite explain, the topic just hit different here, and a stop at draftports continued in that vein, sometimes you find a site whose perspective lines up with how you have been thinking and reading their work feels like a small relief which I appreciated more than I expected.
Generally I do not leave comments but this post merits a small note, and a stop at urbanmistcollective 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.