This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: PR 7570 and PR 7578


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]