/[svn]/linuxsampler/trunk/src/common/ConditionServer.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/ConditionServer.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1932 by persson, Sat Sep 6 14:55:18 2008 UTC revision 1933 by persson, Thu Jul 9 17:37:41 2009 UTC
# Line 95  class ConditionServer { Line 95  class ConditionServer {
95           *                             (default: 0s)           *                             (default: 0s)
96           * @param TimeoutNanoSeconds - optional: max wait time in nano           * @param TimeoutNanoSeconds - optional: max wait time in nano
97           *                             seconds (default: 0ns)           *                             seconds (default: 0ns)
98             * @param bAlreadyLocked     - optional: you must set this to true if
99             *                             you have called Push() before and are
100             *                             using PushAndUnlock to end the
101             *                             critical region (default: false)
102           * @returns  bool pointer with condition before PushAndUnlock()           * @returns  bool pointer with condition before PushAndUnlock()
103           *           call, NULL if timeout exceeded           *           call, NULL if timeout exceeded
104           */           */
105          bool* PushAndUnlock(bool bCondition, long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);          bool* PushAndUnlock(bool bCondition, long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L, bool bAlreadyLocked = false);
106    
107            void PushAndUnlock2(bool bCondition);
108    
109          /**          /**
110           * Should be called by the NRTT after it left it's critical section           * Should be called by the NRTT after it left it's critical section

Legend:
Removed from v.1932  
changed lines
  Added in v.1933

  ViewVC Help
Powered by ViewVC