Mercurial > hg > octave-lojdl > gnulib-hg
changeset 3301:0be2383e4713
*** empty log message ***
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 15 Jul 2001 15:13:14 +0000 |
parents | 62063c42b137 |
children | d164b15652a4 |
files | lib/.cvsignore lib/ChangeLog lib/unlocked-io.hin |
diffstat | 3 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -11,3 +11,4 @@ safe-stat.c safe-stat.h stat.c +unlocked-io.h
--- 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>
new file mode 100644 --- /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 */