2 ms·
The child will also eventually return from the signal handler and resume execution. In the middle of the PRNG, thus returning the same random numbers in both p
by cperciva 9y ago
The child will also eventually return from the signal handler and resume execution. In the middle of the PRNG, thus returning the same random numbers in both processes.
I'm not sure what you mean by "arc4random isn't marked signal safe" -- you mean it can't be used in any process which receives signals?