Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 13:48:14 -0500 (CDT)
From:      =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= <sean-freebsd@farley.org>
To:        =?ISO-8859-1?Q?Herv=E9_Kergourlay?= <herve.kergourlay@atempo.com>
Cc:        hackers@freebsd.org
Subject:   Re: Porting on FreeBSD 53
Message-ID:  <20050512134151.O2556@thor.farley.org>
In-Reply-To: <428307A9.10901@atempo.com>
References:  <428307A9.10901@atempo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1023258206-1115923694=:2556
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Thu, 12 May 2005, Herv=E9 Kergourlay wrote:

<snip>

> 4) wait() API
>
> 2 problems, the first is a ECHILD error on a wait call after a fork fork
> The code is generic for most of unix system. Is there any specific proble=
ms=20
> to manage the fork and wait APIs ?
> the second problem with calls is a blocking wait() call in the same condi=
tion=20
> but this time the son process is finished but the wait call in the father=
=20
> stays blocked, again it's a generic Unix code
>
> If there is no evidence, ask me for more informations

The second problem sounds like what I am encountering
(http://www.freebsd.org/cgi/query-pr.cgi?pr=3D77818) with zsh for my
shell.  You did suspend (sigsuspend()) SIGCHLD before the fork?  By
"fork fork", do you mean you fork twice?

Se=E1n
--=20
sean-freebsd@farley.org
--0-1023258206-1115923694=:2556--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050512134151.O2556>