~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pool_of_threads/pool_of_threads.cc

Merged in plugin-slot-reorg patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
696
696
  assert(size != 0);
697
697
 
698
698
  factory= new PoolOfThreadsFactory();
699
 
  registry.add(factory);
 
699
  registry.scheduler.add(factory);
700
700
 
701
701
  return 0;
702
702
}
709
709
{
710
710
  if (factory)
711
711
  {
712
 
    registry.remove(factory);
 
712
    registry.scheduler.remove(factory);
713
713
    delete factory;
714
714
  }
715
715
  return 0;