2
title=Pool of Threads Scheduler
3
description=Pool of Threads Scheduler
4
sources=pool_of_threads.cc session_scheduler.cc
5
headers=pool_of_threads.h session_scheduler.h
7
cxxflags=${PROTOSKIP_WARNINGS}
9
build_conditional="x$ac_cv_libevent" = "xyes"
10
#uncomment when pool_of_threads shutdown is fixed
1
DRIZZLE_PLUGIN(pool_of_threads, [Pool of Threads Scheduler])
2
DRIZZLE_PLUGIN_STATIC(pool_of_threads, [libpool_of_threads.la])
3
DRIZZLE_PLUGIN_MANDATORY(pool_of_threads) dnl Default
4
DRIZZLE_PLUGIN_ACTIONS(pool_of_threads, [
5
#--------------------------------------------------------------------
7
#--------------------------------------------------------------------
9
AC_LIB_HAVE_LINKFLAGS(event,,
11
#include <sys/types.h>
16
struct bufferevent bev;
17
bufferevent_settimeout(&bev, 1, 1);
19
event_loop(EVLOOP_ONCE);
21
AS_IF([test x$ac_cv_libevent = xno],
22
AC_MSG_ERROR([A recent libevent is required for Drizzle. Check http://www.monkey.org/~provos/libevent ]))
23
DRIZZLED_PLUGIN_DEP_LIBS="${DRIZZLED_PLUGIN_DEP_LIBS} ${LTLIBEVENT}"