On Thu, Jul 12, 2007 at 12:14:51PM -0700, Matthew Dillon wrote: > :Ideally this dance would not be necessary as exec is supposed to kill > :all LWPs. > : > :Joerg > > It is? I'll just make it kill all the LWPs then.
Yes. That is where exec and fork differ. Fork is not required to clone the non-current LWP and that's why only async safe functions are allowed after fork. Joerg
