Quantitative Analysis.
Trading Platform.
Python for Excel.
Author.
I.Installation.
II.OTS Scheduler.
1.Threading primitives.
2.NonBlockingQueue.
A.NonBlockingQueue design.
B.Simplest example with NonBlockingQueue.
C.NonBlockingQueue prototypes.
D.NonBlockingQueue data fields.
E.NonBlockingQueue::push member function.
F.NonBlockingQueue::pop member function.
G.NonBlockingQueue::Element.
H.NonBlockingQueue::Node.
I.Python-based acceptance test of NonBlockingQueue.
3.ThreadPool.
4.ThreadMaster.
5.Scheduler implementation.
III.OTS Python Object Browser.
Bibliography.
Forum Index Contents Downloads

NonBlockingQueue.


e need a queue container holding multiple objects awaiting processing. Our principal concern is the situation of high intensity processing when several threads are frequently accessing such a queue. We would like to do it without blocking these threads. Such a goal is accomplished by the presented here NonBlockingQueue class.




A.NonBlockingQueue design.
B.Simplest example with NonBlockingQueue.
C.NonBlockingQueue prototypes.
D.NonBlockingQueue data fields.
E.NonBlockingQueue::push member function.
F.NonBlockingQueue::pop member function.
G.NonBlockingQueue::Element.
H.NonBlockingQueue::Node.
I.Python-based acceptance test of NonBlockingQueue.

Forum Index Contents Download


















Copyright 2009.