Quantitative Analysis.
Trading Platform.
Python for Excel.
Author.
I.Installation.
II.OTS Scheduler.
1.Threading primitives.
A.Encapsulation of primitives.
B.Preventing starvation.
C.Preventing race condition.
D.Barriers.
a.SignaledBarrier.
b.SignaledCountingBarrier.
c.SignaledCountingBarrier2.
d.Barrier.
2.NonBlockingQueue.
3.ThreadPool.
4.ThreadMaster.
5.Scheduler implementation.
III.OTS Python Object Browser.
Bibliography.
Forum Index Contents Downloads

SignaledCountingBarrier2.


he SignaledCountingBarrier2 is different from SignaledCountingBarrier only in return value of the waitForOpen. The SignaledCountingBarrier2::waitForOpen returns true if it returned after the number of blocked thread has been reached. It returns false otherwise, when the openOne() or openAll() has been called.





Forum Index Contents Download


















Copyright 2009.