~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/barriers.h

  • Committer: Lee Bieber
  • Date: 2010-11-20 01:33:21 UTC
  • mfrom: (1878.10.4 drizzle_bug665252)
  • Revision ID: kalebral@gmail.com-20101120013321-7nk9lq4nnr20zk6b
Merge Billy - removed my_getsysdate, my_micro_time and my_micro_time_and_time and replaced with boost::date_time for compatibility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
const size_t LARGEST_BARRIER_NAME= 64;
40
40
 
41
 
enum return_t {
42
 
  SUCCESS,
43
 
  NOT_FOUND,
44
 
  NOT_OWNED_BY
45
 
};
46
 
 
47
41
class Barriers
48
42
{
49
43
public:
57
51
 
58
52
  bool create(const user_locks::Key &arg, drizzled::session_id_t owner);
59
53
  bool create(const user_locks::Key &arg, drizzled::session_id_t owner, int64_t wait_count);
60
 
  return_t release(const user_locks::Key &arg, drizzled::session_id_t owner);
 
54
  boost::tribool release(const user_locks::Key &arg, drizzled::session_id_t owner);
61
55
  Barrier::shared_ptr find(const user_locks::Key &arg);
62
56
  void Copy(Map &arg);
63
57