diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2023-11-13 21:41:08 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-11-13 21:49:06 +0300 |
commit | 06e463223b95ea409543bf945a0eec6249ecaf25 (patch) | |
tree | 1a0e306ec8a408d2b894daa73a473b03b4ecc00f /winsup/cygwin/nfs.cc | |
parent | 3d94e07c49b50caecf836eea34e03dddde8c29c1 (diff) |
Cygwin: random: make random(3) functions thread-safe
Add locking to the random(3) family of functions to gain
thread-safety per POSIX. Use NetBSD version of the file as
role-model.
Reported-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/nfs.cc')
0 files changed, 0 insertions, 0 deletions