What's the purpose of __fp_lock_all() / __fp_unlock_all() ?

Yaakov Selkowitz yselkowitz@cygwin.com
Mon Jun 19 22:55:00 GMT 2017


On 2017-06-19 17:14, Freddie Chopin wrote:
> What's the purpose of __fp_lock_all() and __fp_unlock_all() from
> newlib/libc/stdio/findfp.c? These functions don't seem to be used
> anywhere and they have no public prototypes. Could they be just deleted
> from the repository?

They are used internally by Cygwin (winsup/cygwin/thread.cc).

-- 
Yaakov



More information about the Newlib mailing list