This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]