This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: PR 7570 and PR 7578
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 14 Aug 2002 11:41:15 -0600
- Subject: Re: Patch: FYI: PR 7570 and PR 7578
- References: <DA1ABB6B-AF24-11D6-8CF5-000393122612@physics.uc.edu>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Pinski <pinskia@physics.uc.edu> writes:
Andrew> There was a second patch which fix the problem that allocate the c
Andrew> string
Andrew> for the directory before forking could you try that one may be use that
Andrew> one instead of the one you applied. I think this is a problem because
Andrew> (according to posix)
Andrew> Consequently, to avoid errors, the child process may only execute
Andrew> async-signal-safe operations until such time as one of the exec
Andrew> functions is called, I think memory allocating is not
Andrew> async-signal-safe.
Part of your message is missing. Is this a limitation only on
threaded programs? Does it really refer to fork() and not vfork()? I
find that surprising, but then I don't really keep up with POSIX :-(.
Could you explain the problem in more depth for me?
Tom