~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/multi_thread/multi_thread.cc

Merged in plugin-slot-reorg patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
static int init(drizzled::plugin::Registry &registry)
153
153
{
154
154
  factory= new MultiThreadFactory();
155
 
  registry.add(factory);
 
155
  registry.scheduler.add(factory);
156
156
  return 0;
157
157
}
158
158
 
160
160
{
161
161
  if (factory)
162
162
  {
163
 
    registry.remove(factory);
 
163
    registry.scheduler.remove(factory);
164
164
    delete factory;
165
165
  }
166
166
  return 0;