[PATCH] __fsetlocking
Corinna Vinschen
vinschen@redhat.com
Mon Dec 15 15:11:00 GMT 2014
Hi Yaakov,
On Dec 11 12:08, Yaakov Selkowitz wrote:
> Another of the stdio_ext functions from Solaris and glibc:
>
> https://docs.oracle.com/cd/E19683-01/816-0213/6m6ne37vm/index.html
> http://man7.org/linux/man-pages/man3/stdio_ext.3.html
>
> Patch attached.
Thanks. This patch introduces a problem for single thread targets.
While _newlib_flockfile_start and friends where no-ops before (given
that _flockfile/_funlockfile are no-ops), they now introduce a redundant
check for a bit in fp->_flags2. This check *may* be removed by compiler
optimization, but we shouldn't rely on that. What this patch needs is a
new no-op-like definition of _newlib_flockfile_start and friends for
single thread targets.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20141215/ecd2fb9d/attachment.sig>
More information about the Newlib
mailing list