[PATCH] Add BeOS support for libstdc++-v3

Phil Edwards pedwards@disaster.jaj.com
Tue Nov 21 15:14:00 GMT 2000


On Wed, Nov 22, 2000 at 12:06:18AM +0100, Gabriel Dos Reis wrote:
> Phil Edwards <pedwards@disaster.jaj.com> writes:
> | 
> | means that BeOS-native threads will /always/ be used.  Currently we default
> | to no threads on all platforms, and the installer must request them (e.g.,
> | "--enable-threads=beos").  This patch means that BeOS alone would be in
> | the reverse situation.
> 
> Is there any reason we should default to 'no threads' on all plateforms?

Not in the future.  When I wrote that "this may be the way we're heading
anyhow," I was thinking that in an ideal world, each platform would default
to whichever threading model fit the best.  Asking for single/no threads
would be a debugging technique, or for special-purpose builds.  Or YAMC[*].

Currently, of course, we default to no threads because we have almost zero
thread support in the library.  :-|


Phil
[*]  Yet Another Multilib Configuration.

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


More information about the Libstdc++ mailing list