~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/cache.h

  • Committer: Brian Aker
  • Date: 2010-11-23 07:02:38 UTC
  • mfrom: (1945.2.1 quick)
  • Revision ID: brian@tangent.org-20101123070238-1f31pgg7gvmytpr3
Refactor basic lock bits (ie, encapsulate!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  bool removeTable(Session *session, TableIdentifier &identifier, uint32_t flags);
60
60
  void release(TableShare *share);
61
61
  bool insert(table::Concurrent *arg);
 
62
 
 
63
  boost::mutex &mutex()
 
64
  {
 
65
    return _mutex;
 
66
  }
 
67
 
 
68
private:
 
69
  boost::mutex _mutex;
62
70
};
63
71
 
64
72
CacheMap &getCache(void);