user-space threads

Adam Megacz gcj@lists.megacz.com
Thu Oct 24 15:24:00 GMT 2002


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



More information about the Java mailing list