Closed Bug 143493 Opened 22 years ago Closed 2 years ago

Portable & Threadsafe NON-cryptographic Pseudo Random Number Generation API

Categories

(NSPR :: NSPR, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: KaiE, Unassigned)

References

Details

Currently, NSPR does not provide functions to generate pseudo random numbers,
that use the thread safe equivalent available on each platform, as it should be
used in a multithreaded application - like rand_r on Linux.

I think it would be good to have support for at least:
- rand
- srand
Blocks: 143492
Severity: normal → enhancement
No use keeping two bugs on the same topic: threadsafe number generation (in NSPR or elsewhere...)

*** This bug has been marked as a duplicate of 143492 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
No longer blocks: 143492
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Blocks: 143492
QA Contact: wtchang → nspr
This bug asks NSPR to provide a new API. 
There are other bugs (such as bug 143492) that ask other mozilla products 
to use this NSPR API, once it is developed.  This bug is NOT a duplicate of
those others, and they are NOT duplicates of this bug.
Status: REOPENED → NEW
Summary: Portable & Threadsafe Pseudo Random Number Generation → Portable & Threadsafe NON-cryptographic Pseudo Random Number Generation API

The bug assignee didn't login in Bugzilla in the last 7 months.
:KaiE, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: wtc → nobody
Flags: needinfo?(kaie)
Status: NEW → RESOLVED
Closed: 18 years ago2 years ago
Flags: needinfo?(kaie)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.