This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: user-space threads
Andrew Haley <aph@redhat.com> writes:
> > Wow. I consider that a major omission. A lot of people write code
> > that implicitly relies upon that assumption -- for example, a lot of
> > crypto libraries generate randomness by spinning a thread in a while
> > loop and then flipping a boolean to break the thread out of the loop.
> I wouldn't rely on a crypto library that did that.
What would you suggest instead if SecureRandom is unavailable?
- a
--
"Through your rags I see your vanity" -- Socrates