This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: [PATCH]: add missing lock_acquire/release in __fp_lock_all/__fp_unlock_all
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Thomas Pfaff <tpfaff at gmx dot net>
- Cc: newlib at sources dot redhat dot com
- Date: Mon, 29 Mar 2004 16:27:45 -0500
- Subject: Re: [PATCH]: add missing lock_acquire/release in __fp_lock_all/__fp_unlock_all
- References: <40649960.30303@gmx.net> <40649A26.2040307@gmx.net>
Thomas Pfaff wrote:
Thomas Pfaff wrote:
This locks have been unfortunately removed by me.
2003-03-26 Thomas Pfaff <tpfaff@gmx.net>
2004-03-26
I did see this, but I kind of prefer it this way. The name of the functions
imply locking all the files so I'm not sure I like the file-list lock being left
locked under the covers. The calls to _fwalk will use the __sfp_lock.
There are also no newlib callers of this function and any Cygwin or newlib code
could make the calls themselves as needed. What specific usage do you see for
this function that the file-list lock is also required?
-- Jeff J.