Recursive locks? Locking API?

Eric Blake
Mon Oct 22 14:57:00 GMT 2012

On 10/17/2012 07:21 AM, Freddie Chopin wrote:
> Hi!
> Does newlib REALLY need recursive locks? Couldn't some parts of it be
> rewritten to use normal - binary - locks only?

POSIX requires stdio locking to be recursive.  Maybe some other locks
can be made binary, but not stdio locks.

Eric Blake    +1-919-301-3266
Libvirt virtualization library

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Newlib mailing list