On Mon, Aug 3, 2015 at 12:26 PM, lh_mouse wrote:
> ISO C11 requires operations on the same stream (or whatever a FILE struct
> handles) _not_ to interleave with each other.
> This should include outputting each character using puts() or printf()
> functions, since they both manipulate the `stdou
08-03
-
发件人:Dongsheng Song
发送日期:2015-08-03 10:58
收件人:mingw64
抄送:
主题:Re: [Mingw-w64-public] Patch for locking printf
On Sat, Aug 1, 2015 at 6:56 AM, JonY wrote:
>
> On 7/23/2015 06:24, JonY wrote:
> > Hi,
> >
> > Patch introduces a new macro __MINGW_PRINTF_LOCKING
On Sat, Aug 1, 2015 at 6:56 AM, JonY wrote:
>
> On 7/23/2015 06:24, JonY wrote:
> > Hi,
> >
> > Patch introduces a new macro __MINGW_PRINTF_LOCKING for fprintf and
> > vfprintf so when called on the same FILE stream, the operations are not
> > overlapped. __USE_MINGW_ANSI_STDIO must also be set fo
On 7/23/2015 06:24, JonY wrote:
> Hi,
>
> Patch introduces a new macro __MINGW_PRINTF_LOCKING for fprintf and
> vfprintf so when called on the same FILE stream, the operations are not
> overlapped. __USE_MINGW_ANSI_STDIO must also be set for the new macro to
> take effect.
>
> The reason why it i
Hi,
Patch introduces a new macro __MINGW_PRINTF_LOCKING for fprintf and
vfprintf so when called on the same FILE stream, the operations are not
overlapped. __USE_MINGW_ANSI_STDIO must also be set for the new macro to
take effect.
The reason why it is done in such a way is so programs that already