~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/signal_handler/signal_handler.cc

  • Committer: Brian Aker
  • Date: 2009-07-09 19:49:32 UTC
  • mfrom: (1085.1.10 mordred)
  • Revision ID: brian@gaz-20090709194932-o90qfzgk9xem5di1
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
static bool kill_in_progress= false;
22
22
static bool volatile signal_thread_in_use= false;
23
23
extern int cleanup_done;
 
24
extern "C" pthread_handler_t signal_hand(void *);
24
25
 
25
26
 
26
27
/* Prototypes -> all of these should be factored out into a propper shutdown */
27
 
void close_connections(void);
 
28
extern void close_connections(void);
28
29
bool reload_cache(Session *session, ulong options, TableList *tables);
29
30
 
30
31
 
90
91
 
91
92
 
92
93
/** This threads handles all signals and alarms. */
93
 
/* ARGSUSED */
94
 
extern "C"
95
94
pthread_handler_t signal_hand(void *)
96
95
{
97
96
  sigset_t set;