OSDN Git Service

merge from gcc
authordj <dj>
Tue, 26 Apr 2005 01:01:48 +0000 (01:01 +0000)
committerdj <dj>
Tue, 26 Apr 2005 01:01:48 +0000 (01:01 +0000)
include/ChangeLog
include/libiberty.h

index 97a67de..88f6de2 100644 (file)
@@ -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:
index df36cdc..215e832 100644 (file)
@@ -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.  */