diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-04-11 18:04:34 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-04-11 18:04:34 +0200 |
commit | a42478b7bf10e9f890466c91280d9b24908ca980 (patch) | |
tree | 814537c6db584d33a8d978c4ec6f098c6a4af5fb /ChangeLog | |
parent | 38efe8c5a5c1676f54481caa81980a93f7223479 (diff) | |
download | glibc-a42478b7bf10e9f890466c91280d9b24908ca980.tar.gz glibc-a42478b7bf10e9f890466c91280d9b24908ca980.tar.xz glibc-a42478b7bf10e9f890466c91280d9b24908ca980.zip |
manual: readdir, readdir64 are thread-safe
They only modify the state in the dirstream argument, and we generally do not treat this as a reason to mark a function as not thread-safe. For an example, see random_r, which is marked as thread-safe even though the random state is not protected by a lock.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index ec7617ddfa..0dd3057200 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-04-11 Florian Weimer <fweimer@redhat.com> + Zack Weinberg <zackw@panix.com> + + * manual/filesys.texi (Reading/Closing Directory): Mark readdir, + readdir64 as thread-safe. Update warning about readdir_r. + 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org> * sysdeps/unix/sysv/linux/x86/Implies: New file. |