Back to Arangodb

Rationale

3rdParty/boost/1.78.0/libs/context/doc/html/context/rationale.html

3.12.111.9 KB
Original Source

| | Home | Libraries | People | FAQ | More |


Rationale

No inline-assembler

Some newer compiler (for instance MSVC 10 for x86_64 and itanium) do not support inline assembler. [1]. Inlined assembler generates code bloating which is not welcome on embedded systems.

fcontext_t

Boost.Context provides the low level API fcontext_t which is implemented in assembler to provide context swapping operations. fcontext_t is the part to port to new platforms.

| | Note | |

Context switches do not preserve the signal mask on UNIX systems.

|

fcontext_t is an opaque pointer.


[1] MSDN article 'Inline Assembler'

| | Copyright © 2014 Oliver Kowalke

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

|