~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin_scheduling.h

  • Committer: Monty Taylor
  • Date: 2009-01-30 21:02:37 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090130210237-3n6ld8a9jc084jko
Commented out a test in subselect_sj - I think it might be a regression. Jay?

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
3
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
4
 
 
5
 *  Definitions required for Configuration Variables plugin
 
6
 
 
7
 *  Copyright (C) 2008 Mark Atwood
 
8
 *
 
9
 *  This program is free software; you can redistribute it and/or modify
 
10
 *  it under the terms of the GNU General Public License as published by
 
11
 *  the Free Software Foundation; version 2 of the License.
 
12
 *
 
13
 *  This program is distributed in the hope that it will be useful,
 
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 *  GNU General Public License for more details.
 
17
 *
 
18
 *  You should have received a copy of the GNU General Public License
 
19
 *  along with this program; if not, write to the Free Software
 
20
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
21
 */
 
22
 
 
23
#ifndef DRIZZLED_PLUGIN_SCHEDULING_H
 
24
#define DRIZZLED_PLUGIN_SCHEDULING_H
 
25
 
 
26
typedef struct scheduling_st
 
27
{
 
28
  bool is_used;
 
29
  uint32_t max_threads;
 
30
  bool (*init_new_connection_thread)(void);
 
31
  void (*add_connection)(Session *session);
 
32
  void (*post_kill_notification)(Session *session);
 
33
  bool (*end_thread)(Session *session, bool cache_thread);
 
34
} scheduling_st;
 
35
 
 
36
#endif /* DRIZZLED_PLUGIN_SCHEDULING_H */