public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* What's the purpose of __fp_lock_all() / __fp_unlock_all() ?
@ 2017-06-19 22:14 Freddie Chopin
  2017-06-19 22:55 ` Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Freddie Chopin @ 2017-06-19 22:14 UTC (permalink / raw)
  To: newlib

Hello!

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?

Regards,
FCh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What's the purpose of __fp_lock_all() / __fp_unlock_all() ?
  2017-06-19 22:14 What's the purpose of __fp_lock_all() / __fp_unlock_all() ? Freddie Chopin
@ 2017-06-19 22:55 ` Yaakov Selkowitz
  2017-06-20 12:49   ` Freddie Chopin
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov Selkowitz @ 2017-06-19 22:55 UTC (permalink / raw)
  To: newlib

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What's the purpose of __fp_lock_all() / __fp_unlock_all() ?
  2017-06-19 22:55 ` Yaakov Selkowitz
@ 2017-06-20 12:49   ` Freddie Chopin
  0 siblings, 0 replies; 3+ messages in thread
From: Freddie Chopin @ 2017-06-20 12:49 UTC (permalink / raw)
  To: Yaakov Selkowitz, newlib

On Mon, 2017-06-19 at 17:55 -0500, Yaakov Selkowitz wrote:
> They are used internally by Cygwin (winsup/cygwin/thread.cc).

Maybe it would be possible to move these functions to cygwin in that
case?

Regards,
FCh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-20 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-19 22:14 What's the purpose of __fp_lock_all() / __fp_unlock_all() ? Freddie Chopin
2017-06-19 22:55 ` Yaakov Selkowitz
2017-06-20 12:49   ` Freddie Chopin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).