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)
Started this morning and finished at lunch with a small sense of having spent the time well, and a look at mossmute extended that satisfaction into the afternoon, content that fits naturally into the rhythm of a working day rather than demanding a dedicated reading block is increasingly the kind I prefer.
Reading this prompted a brief but useful conversation with a colleague who happened to walk by, and a stop at cartcab 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.
método all in casas de apostas que aceitam elo [Christen]
Thank you for the genuine effort here, it shows in every paragraph and not just the headline, and after my visit to clarityroutehub I was sure this site cares about getting things right rather than chasing clicks, which is the main reason I will come back later this week to read more.