merge from gcc
This commit is contained in:
parent
68401acd24
commit
73b4949a87
|
@ -1,3 +1,7 @@
|
||||||
|
2005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
|
* libiberty.h (unlock_stream): New.
|
||||||
|
|
||||||
2005-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
2005-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
|
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
|
||||||
|
|
|
@ -48,6 +48,12 @@ extern "C" {
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/* If the OS supports it, ensure that the supplied stream is setup to
|
||||||
|
avoid any multi-threaded locking. Otherwise leave the FILE pointer
|
||||||
|
unchanged. If the stream is NULL do nothing. */
|
||||||
|
|
||||||
|
extern void unlock_stream (FILE *);
|
||||||
|
|
||||||
/* Open and return a FILE pointer. If the OS supports it, ensure that
|
/* Open and return a FILE pointer. If the OS supports it, ensure that
|
||||||
the stream is setup to avoid any multi-threaded locking. Otherwise
|
the stream is setup to avoid any multi-threaded locking. Otherwise
|
||||||
return the FILE pointer unchanged. */
|
return the FILE pointer unchanged. */
|
||||||
|
|
Loading…
Reference in New Issue