summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-07-15 15:17:12 +0000
committerJim Meyering <jim@meyering.net>2001-07-15 15:17:12 +0000
commit70d3f1e7723e90b02bb9b23243eea5ae10524ba8 (patch)
treeac080868440dccb3449fce6f8ea597834683b860
parent2b3aab956d14e94f021df8de48b7f45349284459 (diff)
downloadcoreutils-70d3f1e7723e90b02bb9b23243eea5ae10524ba8.tar.xz
*** empty log message ***
-rw-r--r--lib/ChangeLog6
-rw-r--r--lib/unlocked-io.hin14
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 9f5976965..48686a372 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,11 @@
2001-07-15 Jim Meyering <meyering@lucent.com>
+ * Makefile.am (EXTRA_DIST): Add unlocked-io.hin.
+ (BUILT_SOURCES): Add unlocked-io.h.
+ (io_functions): Define.
+ (unlocked-io.h): New rule.
+ * unlocked-io.hin: New file
+
* regex.c: Update from glibc.
2001-07-05 Jim Meyering <meyering@lucent.com>
diff --git a/lib/unlocked-io.hin b/lib/unlocked-io.hin
new file mode 100644
index 000000000..7c7f87e47
--- /dev/null
+++ b/lib/unlocked-io.hin
@@ -0,0 +1,14 @@
+#ifndef UNLOCKED_IO_H
+# define UNLOCKED_IO_H 1
+
+# if USE_UNLOCKED_IO
+
+/* These are wrappers for functions/macros from GNU libc.
+ The standard I/O functions are thread-safe. These *_unlocked ones
+ are more efficient but not thread-safe. That they're not thread-safe
+ is fine since all these applications are single threaded. */
+
+@replace_this@
+
+# endif /* USE_UNLOCKED_IO */
+#endif /* UNLOCKED_IO_H */