]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
pagealign_alloc: Improve documentation.
authorBruno Haible <bruno@clisp.org>
Fri, 12 Sep 2025 23:44:53 +0000 (01:44 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 12 Sep 2025 23:47:05 +0000 (01:47 +0200)
Suggested by Paul Eggert.

* lib/pagealign_alloc.h: Document that this module is not multithread-
safe.

ChangeLog
lib/pagealign_alloc.h

index 9b45e80a86d1456f3886e5ed26783b64e87037ce..90adaefe81299ee1c26dd6a14077a1ba3aaf0ff9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-09-12  Bruno Haible  <bruno@clisp.org>
+
+       pagealign_alloc: Improve documentation.
+       Suggested by Paul Eggert.
+       * lib/pagealign_alloc.h: Document that this module is not multithread-
+       safe.
+
 2025-09-12  Bruno Haible  <bruno@clisp.org>
 
        pagealign_alloc: Tweak the benchmark.
index e04d895b4879aa913efa91ba7b1afeb312707f49..f07673839e5eef4014956af2c795d71850ee26a5 100644 (file)
@@ -32,6 +32,9 @@ extern "C" {
 #endif
 
 
+/* Note: The functions declared in this file are NOT multithread-safe.  */
+
+
 /* Free a memory block.
    PTR must be a non-NULL pointer returned by pagealign_alloc or
    pagealign_xalloc.  */