~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/multi_thread/multi_thread.cc

  • Committer: Mark Atwood
  • Date: 2011-06-24 02:13:02 UTC
  • mfrom: (2318.6.56 rf)
  • Revision ID: me@mark.atwood.name-20110624021302-y9oiksid220xan9s
mergeĀ lp:~olafvdspek/drizzle/refactor14

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
#endif
124
124
}
125
125
 
126
 
bool MultiThreadScheduler::addSession(Session::shared_ptr &session)
 
126
bool MultiThreadScheduler::addSession(const Session::shared_ptr& session)
127
127
{
128
128
  if (thread_count >= max_threads)
129
129
    return true;
165
165
  }
166
166
}
167
167
 
168
 
void MultiThreadScheduler::killSessionNow(Session::shared_ptr &session)
 
168
void MultiThreadScheduler::killSessionNow(const Session::shared_ptr& session)
169
169
{
170
170
  killSession(session.get());
171
171