Patch: FYI: PR 7570 and PR 7578

Tom Tromey tromey@redhat.com
Wed Aug 14 10:38:00 GMT 2002


>>>>> "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



More information about the Java-patches mailing list