refs #190 Remove conditional compilation for locktree escalator lambda

This commit is contained in:
John Esmet 2014-03-05 12:33:11 -05:00
parent 20e3419630
commit bfba28e122

View file

@ -220,11 +220,7 @@ public:
public:
void create(void);
void destroy(void);
#if TOKU_LOCKTREE_ESCALATOR_LAMBDA
void run(manager *mgr, std::function<void (void)> escalate_locktrees_fun);
#else
void run(manager *mgr, void (*escalate_locktrees_fun)(void *extra), void *extra);
#endif
private:
toku_mutex_t m_escalator_mutex;
toku_cond_t m_escalator_done;