~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/slave/queue_thread.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
using namespace drizzled;
27
27
 
28
 
namespace slave
29
 
{
 
28
namespace slave {
30
29
 
31
 
void QueueThread::run(void)
 
30
void QueueThread::run()
32
31
{
33
32
  boost::posix_time::seconds duration(getSleepInterval());
34
33
 
35
34
  /* thread setup needed to do things like create a Session */
36
35
  internal::my_thread_init();
37
 
  boost::this_thread::at_thread_exit(&internal::my_thread_end);
38
36
 
39
37
  if (not init())
40
38
    return;