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)
casino hry online casino-cz-2.com .
электрические гардины elektrokarniz25.ru .
тканевые электрожалюзи zhalyuzi-s-elektroprivodom77.ru .
?esk? casino online ?esk? casino online .
?esk? online casina ?esk? online casina .
nejlep?? online casino nejlep?? online casino .
рекомендация domeo рекомендация domeo .
bonus za registraci bez vkladu casino-cz-5.com .
?esk? online casina ?esk? online casina .
cz casina cz casina .
free spiny za registraci casino-cz-5.com .
профессионализм domeo профессионализм domeo .
online casino cz online casino cz .
bonus bez vkladu casino-cz-6.com .
cz casina cz casina .
casino online casino online .
online casino bonus bez vkladu online casino bonus bez vkladu .