aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-04-26 01:02:02 +0000
committerDJ Delorie <dj@redhat.com>2005-04-26 01:02:02 +0000
commitc631edf1cc79aa305924c762642b9160cae94e2d (patch)
tree5bf2be7fe3b6c85b21ef2e65311cc9d85e7ed682 /include
parent306ab1664beeadd87a5f848a45c44ecf4b18d180 (diff)
downloadgdb-c631edf1cc79aa305924c762642b9160cae94e2d.zip
gdb-c631edf1cc79aa305924c762642b9160cae94e2d.tar.gz
gdb-c631edf1cc79aa305924c762642b9160cae94e2d.tar.bz2
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 97a67de..88f6de2 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * libiberty.h (unlock_std_streams): New.
+
2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
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. */