* doc/posix-functions/rand.texi: Mention multithread-safety problem.
* doc/posix-functions/srand.texi: Mention a Cygwin bug.
+2023-11-10 Bruno Haible <bruno@clisp.org>
+
+ doc: Mention rand and srand limitations.
+ * doc/posix-functions/rand.texi: Mention multithread-safety problem.
+ * doc/posix-functions/srand.texi: Mention a Cygwin bug.
+
2023-11-10 Bruno Haible <bruno@clisp.org>
tests: In multithreaded tests, use random() instead of rand().
@item
This function is only defined as an inline function on some platforms:
Android 4.4.
+@item
+This function is not multithread-safe on some platforms:
+macOS 12.5, FreeBSD 13.2, Solaris 11.4.
@end itemize
@item
This function is only defined as an inline function on some platforms:
Android 4.4.
+@item
+This function has no effect on @code{rand} invocations in other threads
+on some platforms:
+Cygwin 3.4.6.
@end itemize