Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2002-05-29 11:34:39

--- Lars Gullik Bjønnes <larsbj_at_[hidden]> wrote:
> | Lars Gullik Bjønnes' recent contribution to shared_ptr has a dependency on
> | sched_yield (as do most optimized lightweight_mutex implementations.)

Is it possible to disable the thread facilities with a #define?

> Yes... that is true... but this is then a left over from the linux
> kernel variant of the same...
> Of course when on linux the dependency on shed_yield does not
> matter... (I guess weak symbols and stub implementaton of sched_yield)
> Is this actually a weak symbol difference between SunOS and Linux?
> (the gcc lightweight should only be used if glibc is used)
> What version of glibc and gcc are in use here?

% uname -a
SunOS mcfsrv 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-Enterprise
% gcc --version
% gcc -print-libgcc-file-name

As far as I can tell this libgcc.a came with the gcc 3.0.4 distribution.


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

Boost list run by bdawes at, gregod at, cpdaniel at, john at