[PATCH] Make fprintf() function to multithread-safe

Andreas Schwab schwab@linux-m68k.org
Wed Jun 20 08:17:00 GMT 2012


Peng Haitao <penght@cn.fujitsu.com> writes:

> I think use two locks will be better. because __printf_va_arg_table and __printf_function_table
> can be modified simultaneously when use two locks.

This is in no way performance critical.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list