[lkml]   [1999]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: clone, signal and pids
Luis Irun ( wrote:

> My question is:
> Ok, Linux allow to clone a process sharing the pid but not the
> handler. Then, Is this not the correct behaviour for signals to be
> to both processes?
> I think NO. This wouldn't be consequent whith the semantic for the
> signals in unix.
> I think the wrong step is allowing the clones to share its pid's.
> What is the meaning of share pid's? I don't find any meaning for it.
> What do you think about this?

The Linux process clone() call was implemented to support implementation
of the POSIX pthreads standard. The standard requires that threads have
the same pid, and that a signal be sent to only one thread if more than
one hasn't blocked it.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:50    [W:0.037 / U:3.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site