~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/signal_handler/signal_handler.cc

  • Committer: lbieber
  • Date: 2010-10-07 21:45:06 UTC
  • mfrom: (1816.2.8 intel-warnings-win)
  • mto: This revision was merged to the branch mainline in revision 1822.
  • Revision ID: lbieber@orisndriz08-20101007214506-lnbh033i3v34yr3a
Merge Monty - Fixed the last of the ICC warnings. Turned on warnings=errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    or stop, we just want to kill the server.
64
64
*/
65
65
 
66
 
static void kill_server(void *sig_ptr)
 
66
static void kill_server(int sig)
67
67
{
68
 
  int sig=(int) (long) sig_ptr;                 // This is passed a int
69
68
  // if there is a signal during the kill in progress, ignore the other
70
69
  if (kill_in_progress)                         // Safety
71
70
    return;
197
196
      if (!abort_loop)
198
197
      {
199
198
        abort_loop=1;                           // mark abort for threads
200
 
        kill_server((void*) sig);       // MIT THREAD has a alarm thread
 
199
        kill_server(sig);               // MIT THREAD has a alarm thread
201
200
      }
202
201
      break;
203
202
    case SIGHUP: