summaryrefslogtreecommitdiff
path: root/absl/random/gaussian_distribution.h
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2021-06-01 18:32:49 -0700
committerGravatar Derek Mauro <dmauro@google.com>2021-06-01 21:35:59 -0400
commit702cae1e762dc6f2f9d31777db04e1adbdb36697 (patch)
treec53a37262658d44629c6ef8ddfcdfd42cb80195c /absl/random/gaussian_distribution.h
parent0d5156018dd3d0d075cc14a0aa6078979c7a85d3 (diff)
Export of internal Abseil changes
-- 2c81c02d2b68303134e777f31921679ab87a2639 by Derek Mauro <dmauro@google.com>: Use getentropy() to get seed material when using glibc >= 2.25 getentropy() uses the getrandom syscall on Linux to avoid file descriptors. It is never interputed (EINTR) and uses the same source as /dev/urandom. https://man7.org/linux/man-pages/man3/getentropy.3.html getrandom has been in the Linux since kernel 3.17 When unavailable (ENOSYS), fallback to /dev/urandom. PiperOrigin-RevId: 376962620 -- 81cd41372a04eda400a2e3be53c239c0dac6bdf3 by Abseil Team <absl-team@google.com>: Make FunctionRef no longer have -Wdeprecated-copy warnings from Clang by defaulting the copy constructor. This is needed because the assignment operator is deleted. Fixes #948 PiperOrigin-RevId: 376928548 GitOrigin-RevId: 2c81c02d2b68303134e777f31921679ab87a2639 Change-Id: I0abb18052ffff5dd1448f0b68edbb668045335f0
Diffstat (limited to 'absl/random/gaussian_distribution.h')
0 files changed, 0 insertions, 0 deletions