]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/context/doc/html/context/econtext/rationale.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / context / doc / html / context / econtext / rationale.html
CommitLineData
7c673cae
FG
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4<title>Rationale</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7<link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Context">
8<link rel="up" href="../econtext.html" title="Execution context">
9<link rel="prev" href="architectures.html" title="Architectures">
10<link rel="next" href="rationale/other_apis_.html" title="Other APIs">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="architectures.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../econtext.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="rationale/other_apis_.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="context.econtext.rationale"></a><a class="link" href="rationale.html" title="Rationale">Rationale</a>
28</h3></div></div></div>
29<div class="toc"><dl>
30<dt><span class="section"><a href="rationale/other_apis_.html">Other APIs
31 </a></span></dt>
32<dt><span class="section"><a href="rationale/x86_and_floating_point_env.html">x86
33 and floating-point env</a></span></dt>
34</dl></div>
35<h5>
36<a name="context.econtext.rationale.h0"></a>
37 <span><a name="context.econtext.rationale.no_inline_assembler"></a></span><a class="link" href="rationale.html#context.econtext.rationale.no_inline_assembler">No
38 inline-assembler</a>
39 </h5>
40<p>
41 Some newer compiler (for instance MSVC 10 for x86_64 and itanium) do not
42 support inline assembler. <sup>[<a name="context.econtext.rationale.f0" href="#ftn.context.econtext.rationale.f0" class="footnote">1</a>]</sup>. Inlined assembler generates code bloating which is not welcome
43 on embedded systems.
44 </p>
45<h5>
46<a name="context.econtext.rationale.h1"></a>
47 <span><a name="context.econtext.rationale.fcontext_t"></a></span><a class="link" href="rationale.html#context.econtext.rationale.fcontext_t">fcontext_t</a>
48 </h5>
49<p>
50 <span class="bold"><strong>Boost.Context</strong></span> provides the low level API
51 fcontext_t which is implemented in assembler to provide context swapping
52 operations. fcontext_t is the part to port to new platforms.
53 </p>
54<div class="note"><table border="0" summary="Note">
55<tr>
56<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../doc/src/images/note.png"></td>
57<th align="left">Note</th>
58</tr>
59<tr><td align="left" valign="top"><p>
60 Context switches do not preserve the signal mask on UNIX systems.
61 </p></td></tr>
62</table></div>
63<p>
64 <span class="emphasis"><em>fcontext_t</em></span> is an opaque pointer.
65 </p>
66<div class="footnotes">
67<br><hr width="100" align="left">
68<div class="footnote"><p><sup>[<a name="ftn.context.econtext.rationale.f0" href="#context.econtext.rationale.f0" class="para">1</a>] </sup>
69 <a href="http://msdn.microsoft.com/en-us/library/4ks26t93.aspx" target="_top">MSDN
70 article 'Inline Assembler'</a>
71 </p></div>
72</div>
73</div>
74<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
75<td align="left"></td>
76<td align="right"><div class="copyright-footer">Copyright &#169; 2014 Oliver Kowalke<p>
77 Distributed under the Boost Software License, Version 1.0. (See accompanying
78 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
79 </p>
80</div></td>
81</tr></table>
82<hr>
83<div class="spirit-nav">
84<a accesskey="p" href="architectures.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../econtext.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="rationale/other_apis_.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
85</div>
86</body>
87</html>