/[svn]/linuxsampler/trunk/src/common/Condition.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Condition.cpp

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

revision 2315 by nagata, Fri Jan 25 15:06:02 2008 UTC revision 2316 by persson, Sat Feb 18 13:51:38 2012 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2012 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 369  bool Condition::GetUnsafe() { Line 369  bool Condition::GetUnsafe() {
369      return bCondition;      return bCondition;
370  }  }
371    
372    #ifdef WIN32
373    void Condition::Reset() {
374        __win32_true_condition.waiters_count_ = 0;
375        __win32_true_condition.was_broadcast_ = 0;
376        __win32_false_condition.waiters_count_ = 0;
377        __win32_false_condition.was_broadcast_ = 0;
378    }
379    #endif
380    
381  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.2315  
changed lines
  Added in v.2316

  ViewVC Help
Powered by ViewVC