[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: single threaded performance enhancement
From: |
Wolfram Gloger |
Subject: |
Re: single threaded performance enhancement |
Date: |
Mon, 26 Nov 2001 15:35:34 +0100 ("MET) |
> For single threaded programs/libraries using the
> _unlocked versions of the stdio functions provide
> very big performance gains. So why aren't these selected
> by default #ifndef _REENTRANT, as this must be defined
> for all multithreaded apps?
This would make it impossible to let 'single-threaded' programs
interoperate with multi-threaded libraries. E.g. some day someone
might decide to make libncurses.so multithreaded internally, while
keeping the same API.
Regards,
Wolfram.