Searched refs:masterpid (Results 1 – 2 of 2) sorted by relevance
85 int masterpid = 0; variable622 printf("%d\n", masterpid); in main()663 masterpid = child; in hlfsd_init()786 if (getpid() != masterpid) in reload()820 serverpid = masterpid; in reload()838 if (getpid() != masterpid) in cleanup()842 masterpid = 0; in cleanup()865 kill(masterpid, SIGKILL); in cleanup()879 if (wait(&result) == masterpid) { in reaper()890 if (mypid == masterpid) in hlfsd_going_down()[all …]
94 static pid_t masterpid; /* PID of master/parent */ variable474 masterpid = getpid(); in main()1052 if (masterpid != 0 && master == 0) in start_server()1053 kill(masterpid, SIGUSR1); in start_server()