2003-03-30 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdio/findfp.c (__fp_lock_all): Add call to __sfp_lock_acquire. (__fp_unlock_all): Add call to __sfp_lock_release.
This commit is contained in:
parent
e9db932542
commit
cacc0d4421
|
@ -1,3 +1,9 @@
|
|||
2003-03-30 Thomas Pfaff <tpfaff@gmx.net>
|
||||
|
||||
* libc/stdio/findfp.c (__fp_lock_all): Add call to
|
||||
__sfp_lock_acquire.
|
||||
(__fp_unlock_all): Add call to __sfp_lock_release.
|
||||
|
||||
2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
|
||||
|
||||
* libc/stdio/fclose.c (fclose): Protect file pointer list when
|
||||
|
|
|
@ -232,6 +232,8 @@ __fp_unlock (ptr)
|
|||
void
|
||||
__fp_lock_all ()
|
||||
{
|
||||
__sfp_lock_acquire ();
|
||||
|
||||
(void) _fwalk (_REENT, __fp_lock);
|
||||
}
|
||||
|
||||
|
@ -239,5 +241,7 @@ void
|
|||
__fp_unlock_all ()
|
||||
{
|
||||
(void) _fwalk (_REENT, __fp_unlock);
|
||||
|
||||
__sfp_lock_release ();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue