This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: add missing lock_acquire/release in __fp_lock_all/__fp_unlock_all


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]