NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56276: exit hangs with vfork waiting



The following reply was made to PR kern/56276; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56276: exit hangs with vfork waiting
Date: Fri, 25 Jun 2021 05:31:52 +0000

 On Fri, Jun 25, 2021 at 04:30:01AM +0000, mlelstv%netbsd.org@localhost wrote:
  > When a process calls vfork(), it is suspended until the child exits
  > or calls execve().
  > 
  > When in this situation, a second thread of the parent calls exit()
  > the parent doesn't exit but waits uninterruptibly for the child.
 
 Shouldn't all threads be suspended for vfork? (as for regular fork)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index