~skinny.moey/drizzle/trunk-1475-transaction_log_enabled

« back to all changes in this revision

Viewing changes to plugin/pool_of_threads/pool_of_threads.h

  • Committer: Brian Aker
  • Date: 2010-04-14 21:40:03 UTC
  • mfrom: (1452.2.5 use-std-unordered)
  • Revision ID: brian@gaz-20100414214003-30eep6lxph0iq4f7
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include "session_scheduler.h"
30
30
#include <string>
31
31
#include <queue>
32
 
#include <set>
 
32
#include <drizzled/unordered_set.h>
33
33
#include <event.h>
34
34
 
35
35
 
58
58
   *
59
59
   * This should really be a collection of unordered Sessions. No one is more
60
60
   * promising to encounter an io event earlier than another; so no order
61
 
   * indeed! We will change this to unordered_set/hash_set when c++0x comes.
 
61
   * indeed!
62
62
   */
63
 
  std::set<drizzled::Session *> sessions_waiting_for_io;
 
63
  drizzled::unordered_set<drizzled::Session *> sessions_waiting_for_io;
64
64
 
65
65
public:
66
66
  PoolOfThreadsScheduler(const char *name_arg);