Recursive locks? Locking API?

Eric Blake eblake@redhat.com
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   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20121022/179c3715/attachment.sig>


More information about the Newlib mailing list