~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_lock.h

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* For use with thr_locks */
17
17
 
18
 
#ifndef DRIZZLED_THR_LOCK_H
19
 
#define DRIZZLED_THR_LOCK_H
 
18
#pragma once
20
19
 
21
20
#include <boost/thread/mutex.hpp>
22
21
#include <boost/thread/shared_mutex.hpp>
23
22
#include <boost/thread/condition_variable.hpp>
24
23
 
25
 
#include "drizzled/visibility.h"
 
24
#include <drizzled/visibility.h>
26
25
 
27
26
namespace drizzled
28
27
{
184
183
  }
185
184
};
186
185
 
187
 
class Session; 
188
 
 
189
186
#define thr_lock_owner_init(owner, info_arg) (owner)->info= (info_arg)
190
187
DRIZZLED_API void thr_lock_init(THR_LOCK *lock);
191
188
enum enum_thr_lock_result thr_multi_lock(Session &session, THR_LOCK_DATA **data,
194
191
 
195
192
} /* namespace drizzled */
196
193
 
197
 
#endif /* DRIZZLED_THR_LOCK_H */