diff options
author | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2008-03-10 16:47:42 +0000 |
---|---|---|
committer | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2008-03-10 16:47:42 +0000 |
commit | d2f7053ecc653436d9dae657e87069c3f24733d8 (patch) | |
tree | 5e1f41b4b7445787378891e7754339b9c1feeaa9 /common/JackAtomicArrayState.h | |
parent | c4ee8ff5baa6c979abbaeb628f716e6a261d6c22 (diff) | |
download | jack2-d2f7053ecc653436d9dae657e87069c3f24733d8.tar.gz |
Nedko Arnaudov log patch(2).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1936 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'common/JackAtomicArrayState.h')
-rw-r--r-- | common/JackAtomicArrayState.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/JackAtomicArrayState.h b/common/JackAtomicArrayState.h index 8fee2dba..d05e49e2 100644 --- a/common/JackAtomicArrayState.h +++ b/common/JackAtomicArrayState.h @@ -74,12 +74,12 @@ Requirement: The fCounter is an array of indexes to access the current and 3 different "pending" states. - ¥ WriteNextStateStart(int index) must return a valid state to be written into, and must invalidate state "index" ==> cur state switch. - ¥ WriteNextStateStop(int index) makes the "index" state become "switchable" with the current state. - ¥ TrySwitchState(int index) must detect that pending state is a new state, and does the switch - ¥ ReadCurrentState() must return the state - ¥ GetCurrentIndex() must return an index increased each new switch. - ¥ WriteNextStateStart(int index1) and WriteNextStateStart(int index2) can be interleaved + WriteNextStateStart(int index) must return a valid state to be written into, and must invalidate state "index" ==> cur state switch. + WriteNextStateStop(int index) makes the "index" state become "switchable" with the current state. + TrySwitchState(int index) must detect that pending state is a new state, and does the switch + ReadCurrentState() must return the state + GetCurrentIndex() must return an index increased each new switch. + WriteNextStateStart(int index1) and WriteNextStateStart(int index2) can be interleaved [switch counter][index state][index state][cur index] @@ -136,7 +136,7 @@ class JackAtomicArrayState JackAtomicArrayState() { - JackLog("JackAtomicArrayState constructor\n"); + jack_log("JackAtomicArrayState constructor"); Counter1(fCounter) = 0; } |