~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/daemon.cc

  • Committer: Monty Taylor
  • Date: 2011-02-15 01:50:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2169.
  • Revision ID: mordred@inaugust.com-20110215015038-unbat0j66a1qg79j
Fixed a solaris warning. Wow. 3 for 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
pid_t parent_pid;
56
56
 
 
57
extern "C"
 
58
{
 
59
 
57
60
static void sigusr1_handler(int sig)
58
61
{
59
62
  if (sig == SIGUSR1)
60
63
    _exit(EXIT_SUCCESS);
61
64
}
62
65
 
 
66
}
 
67
 
63
68
void daemon_is_ready()
64
69
{
65
70
  kill(parent_pid, SIGUSR1);