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)
500 get free Chips Doubledown Casino
spins no deposit united states, big poker tournaments uk and no deposit usa slots 2021, or poker world united
states
new zealandn poker 2 free game, online casino no deposit bonus no
download instant play united states and age
of gods slots uk, or united statesn how to make a simple roulette wheel european difference