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

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

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

revision 3033 by schoenebeck, Sun Jan 12 11:27:05 2014 UTC revision 3034 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2006-2014 Andreas Persson                               *   *   Copyright (C) 2006-2016 Andreas Persson                               *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   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 197  namespace LinuxSampler { Line 197  namespace LinuxSampler {
197    
198      template <class T>      template <class T>
199      SynchronizedConfig<T>::Reader::Reader(SynchronizedConfig& config) :      SynchronizedConfig<T>::Reader::Reader(SynchronizedConfig& config) :
200          parent(&config), lock(0), lockCount(1) {          parent(&config), lockCount(1), lock(0) {
201          parent->readers.insert(this);          parent->readers.insert(this);
202      }      }
203            
204      template <class T>      template <class T>
205      SynchronizedConfig<T>::Reader::Reader(SynchronizedConfig* config) :      SynchronizedConfig<T>::Reader::Reader(SynchronizedConfig* config) :
206          parent(config), lock(0), lockCount(1) {          parent(config), lockCount(1), lock(0) {
207          parent->readers.insert(this);          parent->readers.insert(this);
208      }      }
209    

Legend:
Removed from v.3033  
changed lines
  Added in v.3034

  ViewVC Help
Powered by ViewVC