Speed up trace mode

Mihir Luthra 1999mihir.luthra at gmail.com
Sat May 25 14:34:48 UTC 2019


Hi Clemens,

Probably I solved some issues from before. One general reason I found was
that my file descriptor was getting closed by some process.
I handled that by checking in close.c that the fd getting closed is not
referencing my files. This has made some errors to vanish. Installation of
some ports works smoothly and for some doesn’t. Till what I figure out, I
need to handle in exec, posix_spawn and dup2 possibly. Am I correct on
that? Is there somewhere else also where I need to make checks?
Also I had a question in my mind, recently I read that mmap(2) is not
async-safe, so if the library interposes a func which is async safe and was
called in a signal handler, will it be okay?

Regards,
Mihir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190525/1f9447ac/attachment.html>


More information about the macports-dev mailing list