~zorba-coders/zorba/fn_envvars

« back to all changes in this revision

Viewing changes to src/zorbatypes/rchandle.h

  • Committer: Juan Zacarias
  • Date: 2012-02-13 19:25:51 UTC
  • mfrom: (10599.1.56 zorba)
  • Revision ID: juan457@gmail.com-20120213192551-4daq70pie0c0gof1
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
 
93
93
  long getRefCount() const { return theRefCount; }
94
94
 
95
 
  long* getSharedRefCounter() const { ZORBA_FATAL(0, ""); return NULL; } 
 
95
  //long* getSharedRefCounter() const { ZORBA_FATAL(0, ""); return NULL; } 
96
96
 
97
 
  SYNC_CODE(RCLock* getRCLock() const { ZORBA_FATAL(0, ""); return NULL; });
 
97
  //SYNC_CODE(RCLock* getRCLock() const { ZORBA_FATAL(0, ""); return NULL; });
98
98
 
99
99
  void addReference(long* sharedCounter SYNC_PARAM2(RCLock* lock)) const;
100
100
 
142
142
********************************************************************************/
143
143
template<class T> class rchandle
144
144
{
 
145
public:
 
146
  typedef T value_type;
 
147
  typedef value_type* pointer;
 
148
  typedef value_type const* const_pointer;
 
149
  typedef value_type& reference;
 
150
  typedef value_type const& const_reference;
 
151
 
145
152
protected:
146
153
  T  * p;
147
154