/[escript]/branches/arrexp_2137_win_merge/escript/src/Data.cpp
ViewVC logotype

Diff of /branches/arrexp_2137_win_merge/escript/src/Data.cpp

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

revision 2224 by jfenwick, Wed Jan 21 03:39:43 2009 UTC revision 2225 by jfenwick, Wed Jan 21 05:30:12 2009 UTC
# Line 2603  Data::toString() const Line 2603  Data::toString() const
2603  }  }
2604    
2605    
2606    // This method is not thread-safe
2607  DataTypes::ValueType::reference  DataTypes::ValueType::reference
2608  Data::getDataAtOffsetRW(DataTypes::ValueType::size_type i)  Data::getDataAtOffsetRW(DataTypes::ValueType::size_type i)
2609  {  {
2610      FORCERESOLVE;  //    FORCERESOLVE;
2611      exclusiveWrite();  //    exclusiveWrite();
2612    
2613      return getReady()->getDataAtOffsetRW(i);      return getReady()->getDataAtOffsetRW(i);
2614  }  }
2615    
2616    // This method is not thread-safe
2617  DataTypes::ValueType::const_reference  DataTypes::ValueType::const_reference
2618  Data::getDataAtOffsetRO(DataTypes::ValueType::size_type i)  Data::getDataAtOffsetRO(DataTypes::ValueType::size_type i)
2619  {  {
2620      FORCERESOLVE;  //    FORCERESOLVE;
2621      return getReady()->getDataAtOffsetRO(i);      return getReady()->getDataAtOffsetRO(i);
2622  }  }
2623    

Legend:
Removed from v.2224  
changed lines
  Added in v.2225

  ViewVC Help
Powered by ViewVC 1.1.26