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
3.0.4
% gcc -print-libgcc-file-name
/home/users2/nksauter/local/gcc304/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/libgcc.a

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

Thanks,
        Ralf

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk