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)
While this issue can vexed most people, my thought is that there has to be a middle or common ground that we all can find. I do value that you’ve added pertinent and sound commentary here though. Thank you!
Admiring the time and effort you put into your site and detailed info you offer!
live baccarat table 25€
My homepage :: casino en ligne qui accepte boleto –
Zoe,
la sfida burraco
Here is my web blog; Calcolo Probabilità Dado – Hessakhaledalmutairiestablishment.Com,
Reading this with my morning coffee turned into reading the related posts with my morning coffee, and a stop at tubecraze stretched the morning further, content that pulls breakfast into a reading session rather than just accompanying it is content that has earned a higher claim on my attention than the average article does.