4 ms·
The problem you're describing is similar but not the same as the one in the article. What you describe is part of the libc implementation of rand(3), whereas th
by ekimekim 13y ago
The problem you're describing is similar but not the same as the one in the article. What you describe is part of the libc implementation of rand(3), whereas the article is talking about reads from /dev/urandom, which has a lock inside the kernel code (for the same reasons as libc).