diff options
author | DJ Delorie <dj@redhat.com> | 2005-04-26 01:01:49 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-04-26 01:01:49 +0000 |
commit | 88f6628ca8b275c3f7cae6c2f31fba4cfe7d9871 (patch) | |
tree | 4c3fd7917a39396565968cdd1f72846029b708b1 /include/libiberty.h | |
parent | 6f4a176f07cce1cc39d12dd4476b6eef1befb580 (diff) | |
download | newlib-88f6628ca8b275c3f7cae6c2f31fba4cfe7d9871.zip newlib-88f6628ca8b275c3f7cae6c2f31fba4cfe7d9871.tar.gz newlib-88f6628ca8b275c3f7cae6c2f31fba4cfe7d9871.tar.bz2 |
merge from gcc
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index df36cdc..215e832 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -54,6 +54,12 @@ extern "C" { extern void unlock_stream (FILE *); +/* If the OS supports it, ensure that the standard I/O streams, stdin, + stdout and stderr are setup to avoid any multi-threaded locking. + Otherwise do nothing. */ + +extern void unlock_std_streams (void); + /* Open and return a FILE pointer. If the OS supports it, ensure that the stream is setup to avoid any multi-threaded locking. Otherwise return the FILE pointer unchanged. */ |