Boost logo

Boost-Build :

Subject: Re: [Boost-build] async rule execution
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-05-10 15:51:21


Thanks Steven and Rene !

On 10.05.2017 11:29, Rene Rivera via Boost-build wrote:
> On Wed, May 10, 2017 at 10:24 AM, Steven Watanabe via Boost-build
> <boost-build_at_[hidden] <mailto:boost-build_at_[hidden]>> wrote:
>
>
> http://www.boost.org/build/doc/html/jam/language.html#jam.language.variables.builtins.actionrule
> <http://www.boost.org/build/doc/html/jam/language.html#jam.language.variables.builtins.actionrule>
>
> It's called in make1c_closure here:
> https://github.com/boostorg/build/blob/develop/src/engine/make1.c#L854
> <https://github.com/boostorg/build/blob/develop/src/engine/make1.c#L854>
>
>
> Of which nothing is async in the above. And further info.. The
> timing_rule is used in testing.jam
> <https://github.com/boostorg/build/blob/develop/src/tools/testing.jam#L800>.

I see. Yeah, this isn't async, but it's all I need. As you know, I'm
working on a Python frontend, where this callback mechanism will be very
useful. (Python's iterator concept provides a very elegant solution to
asynchrony, and I believe I can implement that with the above.)

Best,
        Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

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