From: John Maddock (john_at_[hidden])
Date: 2004-06-12 04:54:43
> The V1 gcc-tools.jam pass -lrt to the linker when threading is "multi".
> curious what's the reason for that. It turns out that V2 did not pass that
> flag due to a typo, and I had no problems at all building MT code.
> Also, looking at librt sources I only see some clock functions and AIO
> Anybody knows an answer?
Yes: -lrt contains (or at least always did, I haven't checked recently) the
thread scheduling API's (sched_yield etc) which some parts of Boost.thread
use. I think the timed mutex code may be dependent upon -lrt as well, but
I'm less sure of that.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk