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)
hra sázky a dostihy
my site :: 1 česká liga fotbal
A piece that took its time without dragging, and a look at clickswitch kept the same patient pace, the difference between unhurried and slow is a fine editorial distinction and this site has clearly found the unhurried side without slipping into the slow side which would have lost me as a reader quickly otherwise.
kostenlose spielotheken spiele
my web blog :: beste Live Casino Apple pay
Appreciated how the post felt complete without overstaying its welcome, and a stop at shopclicky confirmed that economical approach runs across the site, knowing when to stop is a skill many writers never develop but here the discipline is obvious and welcome from the perspective of a busy reader trying to learn things efficiently.
casino en ligne avec code bonus
en ligne bonus lyon
online casino mit echtgeld (Elinor) mit 3 euro einzahlung