Boost logo

Boost :

Subject: Re: [boost] review request for boost.context
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-07-28 10:09:59


Am 28.07.2010 12:35, schrieb Larry Evans:
> On 07/28/10 01:42, Oliver Kowalke wrote:
>> downloadable from boost vault:
>> http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost.context-0.1.0.zip&directory=Concurrent%20Programming&
>>
> [snip]
>
> Thanks Oliver.
>
> The html file:
>
> boost.context-0.1.0/libs/context/doc/html/context/overview.html
>
> contains:
> -{--cut here--
>
> * Boost.Context can be build using assembler (fcontext_t) for context
> switching
> o call bjam toolset=<compiler> architecture=<arch> instruction-set=<set>
> --with-context install in order to build and install the library
> o bjam toolset=gcc architectue=x86 instruction-set=i686 --with-context
> install
> o bjam toolset=gcc architectue=x86 instruction-set=yorksfield
> --with-context install
> o bjam toolset=gcc architectue=arm --with-context install
> * the library uses ucontext_t on POSIX-platforms when build without
> properties architecture and instruction-set
>
> -}--cut here--
>
> However, there's no explanation of or links from
> fcontext_t or ucontext_t. Could you provide them on this page?

ucontext_t is the data structure used by POSIX makecontext/swapcontext
-> see man page

fcontext_t is the internal C data struct used by boost.context - it is
an implementation detail.

Oliver


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