mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
update comments
This commit is contained in:
parent
900c97664a
commit
ff0d98883e
2 changed files with 3 additions and 3 deletions
|
@ -155,7 +155,7 @@ uintptr_t _mi_random_next(mi_random_ctx_t* ctx) {
|
|||
|
||||
/* ----------------------------------------------------------------------------
|
||||
To initialize a fresh random context we rely on the OS:
|
||||
- Windows : BCryptGenRandom
|
||||
- Windows : RtlGenRandom
|
||||
- osX,bsd,wasi: arc4random_buf
|
||||
- Linux : getrandom,/dev/urandom
|
||||
If we cannot get good randomness, we fall back to weak randomness based on a timer and ASLR.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue