avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] printf_P is not reenterable


From: Alexey Boyko
Subject: Re: [avr-libc-dev] printf_P is not reenterable
Date: Mon, 28 Aug 2006 13:27:29 +0300
User-agent: KMail/1.9.3

> The only solution I could quickly imagine of is to not use vfprintf()
> as the central backend function but something like
> __vfprintf_internal() that gets an additional argument to tell about
> whether the format string is in RAM or ROM.  Then, all the wrapper
> functions would have to be rewritten to accomodate for the new
> interface.

Another variant - initialize stdout for each thread, and use fprintf with
different stdout in different thread.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]