2 ms·
The performance of this might be useful for a few things. The correctness seems more generally useful. The first two things I looked at that currently use vfork
by joeyh 4y ago
The performance of this might be useful for a few things. The correctness seems more generally useful. The first two things I looked at that currently use vfork both go on to do things that are unsafe (according to the information in this talk anyway). I'll bet a substantial number of programs that use fork don't limit themselves to signal-safety(7) functions either.
- JoshTriplett 4y agoExactly. I started out aiming for performance, and quickly realized that the benefits to correctness were even higher.