If you kill the pid, sure you kill the process itself but the shared mem seg 
remains cause other processes may need them.


patrick





On Tue, 21 May 2002 15:16:20 +0300 Bubulac Tatiana <[EMAIL PROTECTED]> wrote:
>Hi,
>
>    I want to terminate a parent process that attach several shared
>memory segments
>with kill(pid, SIGTERM) but it fails to terminate.
>    Even if I give the command from command line it fails to terminate.
>    If I give kill -9 pid it terminates but the shred memory segments
>remains.
>    Why I cannot terminate it with  SIGTERM signal?
>
>    "....
>    status = kill ((pid_t)pid, SIGTERM);
>     printf("status = %d\n", status);
>    ...."
>The status is 0. The pid is correct.
>
>TIA,
>Bubulac Tatiana.
>
>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to