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)
Considered against the flood of similar content this one stands apart in important ways, and a stop at ariabee extended that distinctive feel, sites that find their own corner of a crowded topic and stay there are sites worth following and this one has clearly carved out its own space and committed to defending it carefully.
whoah this blog is fantastic i love reading your articles. Keep up the good work! You know, a lot of people are looking around for this information, you can help them greatly.
I am lucky that I discovered this website , precisely the right info that I was searching for! .
http://medselectmexico.com/# mexico online farmacia