X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.c;h=1b6843bf7d4879df38a57c946bd095d5cfd29f22;hb=2944a62989b8466e0d551e37a0be0e8e6cd69905;hp=6044c271fa7101d585261d44b1c24f401dfd2ef4;hpb=c5fdc88852bc232e24fb3941ea5d5719b4490a87;p=ust.git diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c index 6044c27..1b6843b 100644 --- a/libustcomm/ustcomm.c +++ b/libustcomm/ustcomm.c @@ -67,22 +67,11 @@ char *strdup_malloc(const char *s) static int signal_process(pid_t pid) { - int result; - - result = kill(pid, UST_SIGNAL); - if(result == -1) { - PERROR("kill"); - return -1; - } - - /* FIXME: should wait in a better way */ - //sleep(1); - return 0; } int pid_is_online(pid_t pid) { - return kill(pid, UST_SIGNAL) != -1; + return 1; } static int send_message_fd(int fd, const char *msg)