http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/memory__test__helper_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/memory__test__helper_8hpp.html b/content/api/latest/c++/memory__test__helper_8hpp.html index 4eac804..3898f7b 100644 --- a/content/api/latest/c++/memory__test__helper_8hpp.html +++ b/content/api/latest/c++/memory__test__helper_8hpp.html @@ -55,7 +55,7 @@ <div class="title">memory_test_helper.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> -<div class="textblock"><code>#include <<a class="el" href="subprocess_8hpp_source.html">process/subprocess.hpp</a>></code><br /> +<div class="textblock"><code>#include <<a class="el" href="include_2process_2subprocess_8hpp_source.html">process/subprocess.hpp</a>></code><br /> <code>#include <<a class="el" href="bytes_8hpp_source.html">stout/bytes.hpp</a>></code><br /> <code>#include <<a class="el" href="option_8hpp_source.html">stout/option.hpp</a>></code><br /> <code>#include <<a class="el" href="subcommand_8hpp_source.html">stout/subcommand.hpp</a>></code><br />
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/memory__test__helper_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/memory__test__helper_8hpp_source.html b/content/api/latest/c++/memory__test__helper_8hpp_source.html index 327b6d5..0723ec2 100644 --- a/content/api/latest/c++/memory__test__helper_8hpp_source.html +++ b/content/api/latest/c++/memory__test__helper_8hpp_source.html @@ -52,14 +52,14 @@ <div class="title">memory_test_helper.hpp</div> </div> </div><!--header--> <div class="contents"> -<a href="memory__test__helper_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"> </a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment" >// distributed under the License is distributed on an "AS IS" >BASIS,</span></div><div class="line"><a name="l00013"></a><span >class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES >OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div >class="line"><a name="l00014"></a><span class="lineno"> >14</span> <span class="comment">// See the License for the specific >language governing permissions and</span></div><div class="line"><a >name="l00015"></a><span class="lineno"> 15</span> <span >class="comment">// limitations under the License.</span></div><div >class="line"><a name="l00016"></a><span class="lineno"> >16</span> </div><div class="line"><a name="l00017"></a><span >class="lineno"> 17</span> <span class="preprocessor">#ifndef >__MEMORY_TEST_HELPER_HPP__</span></div><div class="line"><a >name="l00018"></a><span class="lineno"> 18</span> <span >class="preprocessor">#define __MEMORY_TEST_HELPER_HPP__</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="subprocess_8hpp.html">process/subprocess.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="bytes_8hpp.html">stout/bytes.hpp</a>></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="subcommand_8hpp.html">stout/subcommand.hpp</a>></span></div><div class="line"><a name="l00025 "></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>tests {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// The abstraction for controlling the memory usage of a subprocess.</span></div><d iv class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// TODO(chzhcn): Currently, this helper is only supposed to be used by</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// one thread. Consider making it thread safe.</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html">MemoryTestHelper</a> : <span class="keyword">public</span> <a class="code" href="classSubcommand.html">Subcommand</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class=" lineno"><a class="line" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#aa5dad9a209f238aa7d65dde34d8e5c2d"> 37</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#aa5dad9a209f238aa7d65dde34d8e5c2d">NAME</a>[];</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ae280d4f92d5a8e97a79adaed2a7abcf0"> 39</a></span>  <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ae280d4f92d5a8e97a79adaed2a7abcf0">MemoryTestHelper</a>() : <a class="code" href="classSubcommand.html">Subcommand</a>(NAME) {}</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a32c6b1ef064ede21de324efdd47dc921">~MemoryTestHelper</a>();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// Spawns a subprocess.</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a845ef8e61ce21226e4717685d7f95463">spawn</a>();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="co mment">// Kill and reap the subprocess if exists.</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#adc29f6b3d28eb25bbf433fe6eeea4b43">cleanup</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// Returns the pid of the subprocess.</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classTry.html">Try<pid_t></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a503b2ac86325c300400661654abf064c">pid</a>();</div ><div class="line"><a name="l00052"></a><span class="lineno"> >52</span> </div><div class="line"><a name="l00053"></a><span >class="lineno"> 53</span>  <span class="comment">// Allocate and lock >specified page-aligned anonymous memory (RSS)</span></div><div >class="line"><a name="l00054"></a><span class="lineno"> 54</span>  ><span class="comment">// in the subprocess. It uses mlock and memset to make >sure</span></div><div class="line"><a name="l00055"></a><span class="lineno"> > 55</span>  <span class="comment">// allocated memory is >mapped.</span></div><div class="line"><a name="l00056"></a><span >class="lineno"> 56</span>  <span class="comment">// TODO(chzhcn): >Consider returning a future instead of blocking.</span></div><div >class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a >class="code" href="classTry.html">Try<Nothing></a> <a class="code" >href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ab33a4ec1bdc1 97fca39d2a8285e868f2">increaseRSS</a>(<span class="keyword">const</span> <a class="code" href="classBytes.html">Bytes</a>& <a class="code" href="namespaceos_1_1stat.html#a7a116891923bc8b5d8c50f78da8657be">size</a>);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// This function attempts to generate requested size of page cache</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// in the subprocess by using a small buffer and writing it to disk</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// multiple times.</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span></div><div class=" line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a49cb28aaf92bfdcfe17320735214451b">increasePageCache</a>(<span class="keyword">const</span> <a class="code" href="classBytes.html">Bytes</a>& size = <a class="code" href="bytes_8hpp.html#a5d8fe3ccbf9cafff06846c05b3ca864b">Megabytes</a>(1));</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// The main function of the subprocess. It runs in a loop and</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// executes commands passed from stdin.</span></div><di v class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ade2cd702f1351d1de330086ae8639a70">execute</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classTry.html">Try<Nothing></a> requestAndWait(<span class="keyword">const</span> std::string& <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classOpt ion.html">Option<process::Subprocess></a> s;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> };</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> } <span class="comment">// namespace tests {</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif // __MEMORY_TEST_HELPER_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< process::Subprocess ></a> </div></div> +<a href="memory__test__helper_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"> </a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment" >// distributed under the License is distributed on an "AS IS" >BASIS,</span></div><div class="line"><a name="l00013"></a><span >class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES >OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div >class="line"><a name="l00014"></a><span class="lineno"> >14</span> <span class="comment">// See the License for the specific >language governing permissions and</span></div><div class="line"><a >name="l00015"></a><span class="lineno"> 15</span> <span >class="comment">// limitations under the License.</span></div><div >class="line"><a name="l00016"></a><span class="lineno"> >16</span> </div><div class="line"><a name="l00017"></a><span >class="lineno"> 17</span> <span class="preprocessor">#ifndef >__MEMORY_TEST_HELPER_HPP__</span></div><div class="line"><a >name="l00018"></a><span class="lineno"> 18</span> <span >class="preprocessor">#define __MEMORY_TEST_HELPER_HPP__</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="include_2process_2subprocess_8hpp.html">process/subprocess.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="bytes_8hpp.html">stout/bytes.hpp</a>></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="subcommand_8hpp.html">stout/subcommand.hpp</a>></span></div><div class="lin e"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>tests {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// The abstraction for controlling the memory usage of a subproce ss.</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// TODO(chzhcn): Currently, this helper is only supposed to be used by</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// one thread. Consider making it thread safe.</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html">MemoryTestHelper</a> : <span class="keyword">public</span> <a class="code" href="classSubcommand.html">Subcommand</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00037" ></a><span class="lineno"><a class="line" >href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#aa5dad9a209f238aa7d65dde34d8e5c2d"> > 37</a></span>  <span class="keyword">static</span> <span >class="keyword">const</span> <span class="keywordtype">char</span> <a >class="code" >href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#aa5dad9a209f238aa7d65dde34d8e5c2d">NAME</a>[];</div><div > class="line"><a name="l00038"></a><span class="lineno"> >38</span> </div><div class="line"><a name="l00039"></a><span >class="lineno"><a class="line" >href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ae280d4f92d5a8e97a79adaed2a7abcf0"> > 39</a></span>  <a class="code" >href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ae280d4f92d5a8e97a79adaed2a7abcf0">MemoryTestHelper</a>() > : <a class="code" href="classSubcommand.html">Subcommand</a>(NAME) >{}</div><div class="line"><a name="l00040"></a><span class="lineno"> >40</span>  <span class="keywor d">virtual</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a32c6b1ef064ede21de324efdd47dc921">~MemoryTestHelper</a>();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// Spawns a subprocess.</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a845ef8e61ce21226e4717685d7f95463">spawn</a>();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  ; <span class="comment">// Kill and reap the subprocess if exists.</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#adc29f6b3d28eb25bbf433fe6eeea4b43">cleanup</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// Returns the pid of the subprocess.</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classTry.html">Try<pid_t></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a503b2ac86325c300400661654abf064 c">pid</a>();</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Allocate and lock specified page-aligned anonymous memory (RSS)</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// in the subprocess. It uses mlock and memset to make sure</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">// allocated memory is mapped.</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper. html#ab33a4ec1bdc197fca39d2a8285e868f2">increaseRSS</a>(<span class="keyword">const</span> <a class="code" href="classBytes.html">Bytes</a>& <a class="code" href="namespaceos_1_1stat.html#a7a116891923bc8b5d8c50f78da8657be">size</a>);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// This function attempts to generate requested size of page cache</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// in the subprocess by using a small buffer and writing it to disk</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// multiple times.</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// TODO(chzhcn): Consider returning a future instead of blocking.</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a49cb28aaf92bfdcfe17320735214451b">increasePageCache</a>(<span class="keyword">const</span> <a class="code" href="classBytes.html">Bytes</a>& size = <a class="code" href="bytes_8hpp.html#a5d8fe3ccbf9cafff06846c05b3ca864b">Megabytes</a>(1));</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// The main function of the subprocess. It runs in a loop and</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// executes commands passed from stdi n.</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ade2cd702f1351d1de330086ae8639a70">execute</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classTry.html">Try<Nothing></a> requestAndWait(<span class="keyword">const</span> std::string& <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="co de" href="classOption.html">Option<process::Subprocess></a> s;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> };</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> } <span class="comment">// namespace tests {</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif // __MEMORY_TEST_HELPER_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< process::S ubprocess ></a></div></div> <div class="ttc" id="namespaceos_1_1stat_html_a7a116891923bc8b5d8c50f78da8657be"><div class="ttname"><a href="namespaceos_1_1stat.html#a7a116891923bc8b5d8c50f78da8657be">os::stat::size</a></div><div class="ttdeci">Try< Bytes > size(const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)</div><div class="ttdef"><b>Definition:</b> stat.hpp:121</div></div> <div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div> <div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> check.hpp:33</div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper_html_ade2cd702f1351d1de330086ae8639a70"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ade2cd702f1351d1de330086ae8639a70">mesos::internal::tests::MemoryTestHelper::execute</a></div><div class="ttdeci">virtual int execute()</div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper_html_aa5dad9a209f238aa7d65dde34d8e5c2d"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#aa5dad9a209f238aa7d65dde34d8e5c2d">mesos::internal::tests::MemoryTestHelper::NAME</a></div><div class="ttdeci">static const char NAME[]</div><div class="ttdef"><b>Definition:</b> memory_test_helper.hpp:37</div></div> -<div class="ttc" id="subprocess_8hpp_html"><div class="ttname"><a href="subprocess_8hpp.html">subprocess.hpp</a></div></div> <div class="ttc" id="bytes_8hpp_html_a5d8fe3ccbf9cafff06846c05b3ca864b"><div class="ttname"><a href="bytes_8hpp.html#a5d8fe3ccbf9cafff06846c05b3ca864b">Megabytes</a></div><div class="ttdeci">constexpr Bytes Megabytes(uint64_t value)</div><div class="ttdef"><b>Definition:</b> bytes.hpp:123</div></div> +<div class="ttc" id="include_2process_2subprocess_8hpp_html"><div class="ttname"><a href="include_2process_2subprocess_8hpp.html">subprocess.hpp</a></div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper_html_ae280d4f92d5a8e97a79adaed2a7abcf0"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#ae280d4f92d5a8e97a79adaed2a7abcf0">mesos::internal::tests::MemoryTestHelper::MemoryTestHelper</a></div><div class="ttdeci">MemoryTestHelper()</div><div class="ttdef"><b>Definition:</b> memory_test_helper.hpp:39</div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper_html_a845ef8e61ce21226e4717685d7f95463"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1MemoryTestHelper.html#a845ef8e61ce21226e4717685d7f95463">mesos::internal::tests::MemoryTestHelper::spawn</a></div><div class="ttdeci">Try< Nothing > spawn()</div></div> <div class="ttc" id="classSubcommand_html"><div class="ttname"><a href="classSubcommand.html">Subcommand</a></div><div class="ttdef"><b>Definition:</b> subcommand.hpp:41</div></div> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_a.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_a.html b/content/api/latest/c++/namespacemembers_a.html index b8ef3a1..7608ff7 100644 --- a/content/api/latest/c++/namespacemembers_a.html +++ b/content/api/latest/c++/namespacemembers_a.html @@ -95,6 +95,7 @@ <li>accept() : <a class="el" href="namespacenet.html#ae830b749f06b2b6d2ed9c42ecb1763d7">net</a> , <a class="el" href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">process::network</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a1f34e4ee3092afe93c37c170430c03f5">process::windows</a> </li> <li>access() : <a class="el" href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3">os</a> @@ -104,7 +105,7 @@ , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#ae3e0f014f4e41c4deeff4d6c0e148663">mesos::internal::tests::v1::scheduler</a> </li> <li>ACTION_P() -: <a class="el" href="namespacemesos_1_1internal_1_1tests.html#aedefb539485255be5a1e684d2c35513e">mesos::internal::tests</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests.html#acec23b946fa51e72d1f6b4331ad56e8c">mesos::internal::tests</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#a8e89b9cea175d555034b042fee28d6b8">mesos::internal::tests::v1::scheduler</a> </li> <li>ACTION_P2() @@ -198,13 +199,13 @@ : <a class="el" href="namespaceos.html#a706dc9d1287978f358a9a23b77037fb0">os</a> </li> <li>async() -: <a class="el" href="namespaceprocess.html#a9a7ae46e9f2d15e3fcd2bff8c87204c9">process</a> +: <a class="el" href="namespaceprocess.html#a92b69ab22f734498cfe8cf6edd92fd2a">process</a> </li> <li>async_watcher : <a class="el" href="namespaceprocess.html#abde24dee21e5f3c5110d36020c9f8d89">process</a> </li> <li>attach() -: <a class="el" href="namespacerouting_1_1filter_1_1internal.html#a65ca143d4e951198b3ed448d5696cc2a">routing::filter::internal</a> +: <a class="el" href="namespacerouting_1_1filter_1_1internal.html#a3ae22bb34cae1ea9e5d0a30cafeb0d4f">routing::filter::internal</a> </li> <li>AttributeList : <a class="el" href="namespaceinternal_1_1windows.html#a57ccac11227b87ed48b2798ebc1c5e04">internal::windows</a> @@ -241,7 +242,7 @@ : <a class="el" href="namespacemesos.html#a1cf38910e9883f2375ee724671784e27">mesos</a> </li> <li>await() -: <a class="el" href="namespaceprocess.html#a9d64abf575bde6dc82f9d915b33743c8">process</a> +: <a class="el" href="namespaceprocess.html#a4e2dd66121c628a77b57766a7a276838">process</a> , <a class="el" href="namespaceprocess_1_1internal.html#a45915c2c6b7aea85b1c9a726158f19fc">process::internal</a> </li> <li>awaited() http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_c.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_c.html b/content/api/latest/c++/namespacemembers_c.html index c141b4d..dc44df3 100644 --- a/content/api/latest/c++/namespacemembers_c.html +++ b/content/api/latest/c++/namespacemembers_c.html @@ -271,6 +271,7 @@ : <a class="el" href="namespacenet.html#ad810412a39640d3db31448c8ce7b280b">net</a> , <a class="el" href="namespaceprocess_1_1http.html#a54e53c8006298fe99e3fb5f55c0e8c41">process::http</a> , <a class="el" href="namespaceprocess_1_1network.html#a502d62f6f908591b8677c90341af28cc">process::network</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a5afdaeaeb57343d0aca728b74dcd3f71">process::windows</a> </li> <li>construct() : <a class="el" href="namespacemesos_1_1uri.html#a4bbf8b5e900159cbe1f4f311ce26fb63">mesos::uri</a> @@ -451,7 +452,7 @@ , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#abd98e21c010ffd222ea0553f76362d4f">mesos::internal::tests::v1</a> </li> <li>createContainerConfig() -: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#ae06a22b6660e2f3d3e6b66c032f5963b">mesos::internal::tests::internal</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#afc0baf70c6610ce0ccce0e556a4727cf">mesos::internal::tests::internal</a> </li> <li>createContainerInfo() : <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#ae22bdc6f560eb8e648ef875bde2cabc8">mesos::internal::tests::common</a> @@ -521,7 +522,7 @@ : <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1paths.html#a42e0f2f261f2847ef32d633e9f94966e">mesos::internal::slave::paths</a> </li> <li>createExecutorInfo() -: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#a670c20d9dcd273993b028edc3c79f6a1">mesos::internal::tests::common</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#aa6cc33559f96bc2b0b5cc3e098d3daf2">mesos::internal::tests::common</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#a1d89ea8fd0a176a5b25e672b0a88899a">mesos::internal::tests::internal</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a0a4c3e164d6cd047ee8b9279ce91c5dc">mesos::internal::tests::v1</a> </li> @@ -558,7 +559,7 @@ : <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#a0a8d385223ec86f5b9431a8a67dac151">mesos::internal::protobuf</a> </li> <li>createPersistentVolume() -: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#ab3f6f80401c5645318402940ca2121ce">mesos::internal::tests::common</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#afd8335a177e8bfe417b4668da9e161ac">mesos::internal::tests::common</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#a983767ec82f466f6b7c00b18aff1fa3a">mesos::internal::tests::internal</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a5781795d2ad97feb34a5ff805fad1bec">mesos::internal::tests::v1</a> </li> @@ -569,7 +570,7 @@ : <a class="el" href="namespacemesos_1_1python.html#a88c25644f8837bfc76920f504a0e142d">mesos::python</a> </li> <li>createQuotaInfo() -: <a class="el" href="namespacemesos_1_1internal_1_1master_1_1quota.html#a858856c5b332d277d20be66515b44e19">mesos::internal::master::quota</a> +: <a class="el" href="namespacemesos_1_1internal_1_1master_1_1quota.html#a771e86d8a90e4839be7549ae1b388e1a">mesos::internal::master::quota</a> </li> <li>createRange() : <a class="el" href="namespacemesos_1_1internal_1_1tests.html#aa3baef77e9071163d2e2dfb2b48798c1">mesos::internal::tests</a> @@ -610,7 +611,7 @@ </li> <li>createTask() : <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#ac4ae9d9e44c7a92327e4cbd111a6bbd7">mesos::internal::protobuf</a> -, <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#a219c2fd0d7ae0f5f94798f4a89db9668">mesos::internal::tests::common</a> +, <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#a396b391f2eaac72764e650fd7d992f0b">mesos::internal::tests::common</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#a48402bec0895e479cdd6a418a3fc7051">mesos::internal::tests::internal</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a9037552b8a0fe03198b20008cc0ba01b">mesos::internal::tests::v1</a> </li> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_a.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_a.html b/content/api/latest/c++/namespacemembers_func_a.html index 255e2eb..55329e7 100644 --- a/content/api/latest/c++/namespacemembers_func_a.html +++ b/content/api/latest/c++/namespacemembers_func_a.html @@ -95,6 +95,7 @@ <li>accept() : <a class="el" href="namespacenet.html#ae830b749f06b2b6d2ed9c42ecb1763d7">net</a> , <a class="el" href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">process::network</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a1f34e4ee3092afe93c37c170430c03f5">process::windows</a> </li> <li>access() : <a class="el" href="namespaceos.html#a426a9c189f65b7e3f63e16eb11ec73c3">os</a> @@ -104,7 +105,7 @@ , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#ae3e0f014f4e41c4deeff4d6c0e148663">mesos::internal::tests::v1::scheduler</a> </li> <li>ACTION_P() -: <a class="el" href="namespacemesos_1_1internal_1_1tests.html#aedefb539485255be5a1e684d2c35513e">mesos::internal::tests</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests.html#acec23b946fa51e72d1f6b4331ad56e8c">mesos::internal::tests</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#a8e89b9cea175d555034b042fee28d6b8">mesos::internal::tests::v1::scheduler</a> </li> <li>ACTION_P2() @@ -144,7 +145,7 @@ </li> <li>append() : <a class="el" href="namespaceprotobuf.html#aa693e51d8d57a50543a7c2fb686a3ab3">protobuf</a> -, <a class="el" href="namespacestrings_1_1internal.html#a98e3542d098140d417fcb3d6e35836a0">strings::internal</a> +, <a class="el" href="namespacestrings_1_1internal.html#ae013029d60b66f6980085f55a27c00e7">strings::internal</a> </li> <li>appendPaths() : <a class="el" href="namespaceos_1_1libraries.html#a980d85a5e6c3980841696f8774283b39">os::libraries</a> @@ -165,10 +166,10 @@ : <a class="el" href="namespaceos.html#a706dc9d1287978f358a9a23b77037fb0">os</a> </li> <li>async() -: <a class="el" href="namespaceprocess.html#a92b69ab22f734498cfe8cf6edd92fd2a">process</a> +: <a class="el" href="namespaceprocess.html#a9a7ae46e9f2d15e3fcd2bff8c87204c9">process</a> </li> <li>attach() -: <a class="el" href="namespacerouting_1_1filter_1_1internal.html#a4147e528ed5b27b16f0afd9eedc5085b">routing::filter::internal</a> +: <a class="el" href="namespacerouting_1_1filter_1_1internal.html#a3ae22bb34cae1ea9e5d0a30cafeb0d4f">routing::filter::internal</a> </li> <li>AUTHENTICATION() : <a class="el" href="namespaceprocess.html#af11700c40575d7826e6e820896ab7023">process</a> @@ -180,7 +181,7 @@ : <a class="el" href="namespacemesos.html#a1cf38910e9883f2375ee724671784e27">mesos</a> </li> <li>await() -: <a class="el" href="namespaceprocess.html#a4e2dd66121c628a77b57766a7a276838">process</a> +: <a class="el" href="namespaceprocess.html#a9d64abf575bde6dc82f9d915b33743c8">process</a> , <a class="el" href="namespaceprocess_1_1internal.html#a45915c2c6b7aea85b1c9a726158f19fc">process::internal</a> </li> <li>awaited() http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_c.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_c.html b/content/api/latest/c++/namespacemembers_func_c.html index 76165a1..c976cfe 100644 --- a/content/api/latest/c++/namespacemembers_func_c.html +++ b/content/api/latest/c++/namespacemembers_func_c.html @@ -185,6 +185,7 @@ : <a class="el" href="namespacenet.html#ad810412a39640d3db31448c8ce7b280b">net</a> , <a class="el" href="namespaceprocess_1_1http.html#a54e53c8006298fe99e3fb5f55c0e8c41">process::http</a> , <a class="el" href="namespaceprocess_1_1network.html#a502d62f6f908591b8677c90341af28cc">process::network</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a5afdaeaeb57343d0aca728b74dcd3f71">process::windows</a> </li> <li>construct() : <a class="el" href="namespacemesos_1_1uri.html#a4bbf8b5e900159cbe1f4f311ce26fb63">mesos::uri</a> @@ -328,7 +329,7 @@ , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#abd98e21c010ffd222ea0553f76362d4f">mesos::internal::tests::v1</a> </li> <li>createContainerConfig() -: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#afc0baf70c6610ce0ccce0e556a4727cf">mesos::internal::tests::internal</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#ae06a22b6660e2f3d3e6b66c032f5963b">mesos::internal::tests::internal</a> </li> <li>createContainerInfo() : <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#ae22bdc6f560eb8e648ef875bde2cabc8">mesos::internal::tests::common</a> @@ -398,7 +399,7 @@ : <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1paths.html#a42e0f2f261f2847ef32d633e9f94966e">mesos::internal::slave::paths</a> </li> <li>createExecutorInfo() -: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#aa6cc33559f96bc2b0b5cc3e098d3daf2">mesos::internal::tests::common</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#a670c20d9dcd273993b028edc3c79f6a1">mesos::internal::tests::common</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#a1d89ea8fd0a176a5b25e672b0a88899a">mesos::internal::tests::internal</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a0a4c3e164d6cd047ee8b9279ce91c5dc">mesos::internal::tests::v1</a> </li> @@ -435,7 +436,7 @@ : <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#a0a8d385223ec86f5b9431a8a67dac151">mesos::internal::protobuf</a> </li> <li>createPersistentVolume() -: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#ab3f6f80401c5645318402940ca2121ce">mesos::internal::tests::common</a> +: <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#afd8335a177e8bfe417b4668da9e161ac">mesos::internal::tests::common</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1internal.html#a983767ec82f466f6b7c00b18aff1fa3a">mesos::internal::tests::internal</a> , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a5781795d2ad97feb34a5ff805fad1bec">mesos::internal::tests::v1</a> </li> @@ -446,13 +447,13 @@ : <a class="el" href="namespacemesos_1_1python.html#a88c25644f8837bfc76920f504a0e142d">mesos::python</a> </li> <li>createQuotaInfo() -: <a class="el" href="namespacemesos_1_1internal_1_1master_1_1quota.html#a858856c5b332d277d20be66515b44e19">mesos::internal::master::quota</a> +: <a class="el" href="namespacemesos_1_1internal_1_1master_1_1quota.html#a771e86d8a90e4839be7549ae1b388e1a">mesos::internal::master::quota</a> </li> <li>createRange() : <a class="el" href="namespacemesos_1_1internal_1_1tests.html#aa3baef77e9071163d2e2dfb2b48798c1">mesos::internal::tests</a> </li> <li>createRequest() -: <a class="el" href="namespaceprocess_1_1http.html#af2b66a0484ac2a6448270526c854251c">process::http</a> +: <a class="el" href="namespaceprocess_1_1http.html#ad368a8449dbf9bc0bd6cec4a8a3532f1">process::http</a> </li> <li>createReservedResource() : <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1common.html#a9faf1357ddbd892de9f2673ae1f1b8ca">mesos::internal::tests::common</a> @@ -500,7 +501,7 @@ , <a class="el" href="namespacemesos_1_1internal_1_1tests_1_1v1.html#ab2af45e2da4d8fc3ef09cc401dc30b74">mesos::internal::tests::v1</a> </li> <li>createTaskStatus() -: <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#ae7baced1ecb23a4fffbd6d7cf1ac90ce">mesos::internal::protobuf</a> +: <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#a9568ffade693b25df978d5512b079ab3">mesos::internal::protobuf</a> </li> <li>createTaskUpdated() : <a class="el" href="namespacemesos_1_1internal_1_1protobuf_1_1master_1_1event.html#a6afd8a21c1cf14d6ab80abeb476720bc">mesos::internal::protobuf::master::event</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_i.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_i.html b/content/api/latest/c++/namespacemembers_func_i.html index dd03ab9..c94edf0 100644 --- a/content/api/latest/c++/namespacemembers_func_i.html +++ b/content/api/latest/c++/namespacemembers_func_i.html @@ -168,6 +168,10 @@ <li>io_wait_time_recursive() : <a class="el" href="namespacecgroups_1_1blkio_1_1cfq.html#add688181241530f0a30d4c7e5520a4d5">cgroups::blkio::cfq</a> </li> +<li>is_async() +: <a class="el" href="namespaceprocess_1_1io_1_1internal.html#a2291f1f69f4bdf80f3b114c493eb1e37">process::io::internal</a> +, <a class="el" href="namespaceprocess_1_1io.html#ada6541d78cad2ecc225be8a26662c748">process::io</a> +</li> <li>is_inprogress_error() : <a class="el" href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">net</a> </li> @@ -220,7 +224,7 @@ : <a class="el" href="namespacemesos_1_1roles.html#a70ebdbe08b14acfb4ef2571ce909cc86">mesos::roles</a> </li> <li>isTerminalState() -: <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#ade777537955dc212aea80866edd089f3">mesos::internal::protobuf</a> +: <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#aa31907fb62769822a77c06ffbf10451f">mesos::internal::protobuf</a> </li> <li>isUp() : <a class="el" href="namespacerouting_1_1link.html#a7d1c8b69ea1c451975f9275fd11466e3">routing::link</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_p.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_p.html b/content/api/latest/c++/namespacemembers_func_p.html index ce0f6ec..94cb0cc 100644 --- a/content/api/latest/c++/namespacemembers_func_p.html +++ b/content/api/latest/c++/namespacemembers_func_p.html @@ -174,7 +174,7 @@ : <a class="el" href="namespaceos.html#a3fc3402e6d83c2e2f1dc680d77489a29">os</a> </li> <li>pids() -: <a class="el" href="namespaceos.html#abdecf7ea8278e2d8b2110ecd2e8ca0ec">os</a> +: <a class="el" href="namespaceos.html#a42af1cab63434cedf2b698cd6f49f073">os</a> , <a class="el" href="namespaceproc.html#a810141e1502dd8b9a7a410da6caf7ed7">proc</a> </li> <li>pipe() @@ -198,12 +198,16 @@ <li>post() : <a class="el" href="namespaceprocess_1_1http.html#a0fd44430515dd0fed35dd5715bb104c9">process::http</a> , <a class="el" href="namespaceprocess_1_1http_1_1streaming.html#ae8a18c7263d4aefb7b1973c12590c688">process::http::streaming</a> -, <a class="el" href="namespaceprocess.html#a39beeddfda71dd96bf6a5c4b59481c5d">process</a> +, <a class="el" href="namespaceprocess.html#a2b0f5478fa6a52497167aa994ff600d9">process</a> </li> <li>prepare() : <a class="el" href="namespacecgroups.html#a4bf20862574beb5b0f9af7799489866f">cgroups</a> , <a class="el" href="namespacemesos_1_1internal_1_1fs_1_1chroot.html#a3c224bd1aaafda45a323c3d84f8cc85a">mesos::internal::fs::chroot</a> </li> +<li>prepare_async() +: <a class="el" href="namespaceprocess_1_1io_1_1internal.html#a9458b24220892124c2112b3fe85e585e">process::io::internal</a> +, <a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114">process::io</a> +</li> <li>process() : <a class="el" href="namespaceos.html#acd11eaf54627e394ca79979ee884f6c4">os</a> </li> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_r.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_r.html b/content/api/latest/c++/namespacemembers_func_r.html index 158ecfd..12785aa 100644 --- a/content/api/latest/c++/namespacemembers_func_r.html +++ b/content/api/latest/c++/namespacemembers_func_r.html @@ -100,7 +100,9 @@ , <a class="el" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">mesos::internal::credentials</a> , <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1state.html#adeb89c1623e8d5af457b5b130aceac1d">mesos::internal::slave::state</a> , <a class="el" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os</a> +, <a class="el" href="namespaceprocess_1_1io_1_1internal.html#ac0a90b8abf47098e5a57d90e744a42a8">process::io::internal</a> , <a class="el" href="namespaceprocess_1_1io.html#ad1290a283a4d16068acfef3903bfd88b">process::io</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a7436ed89e84ff3415987de0ca9428d08">process::windows</a> , <a class="el" href="namespaceprotobuf.html#a2120146c620b72d4e1e3ae47bdacb1b3">protobuf</a> </li> <li>read< Resources >() @@ -133,6 +135,7 @@ </li> <li>recv() : <a class="el" href="namespacenet.html#ae1804e10c81f5743b459eeae1f6a701a">net</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a37fde6f31c2f9838a18cf83c2c865134">process::windows</a> </li> <li>redirect() : <a class="el" href="namespaceprocess_1_1io.html#ab9c4a52a88fcc9983438e391643424ca">process::io</a> @@ -188,7 +191,7 @@ : <a class="el" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http</a> </li> <li>requestDelete() -: <a class="el" href="namespaceprocess_1_1http.html#a1443ad581d0388a87013f0284906c2b3">process::http</a> +: <a class="el" href="namespaceprocess_1_1http.html#aa37acfb70e0b901b6f10c3d4a9b33c95">process::http</a> </li> <li>reregisterSlave() : <a class="el" href="namespacemesos_1_1internal_1_1master_1_1validation_1_1master_1_1message.html#aa161808296e305b8b17479f2f7b70fa4">mesos::internal::master::validation::master::message</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_s.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_s.html b/content/api/latest/c++/namespacemembers_func_s.html index a00ebd3..13e3305 100644 --- a/content/api/latest/c++/namespacemembers_func_s.html +++ b/content/api/latest/c++/namespacemembers_func_s.html @@ -104,9 +104,11 @@ </li> <li>send() : <a class="el" href="namespacenet.html#aa0a46766b4aca53ea50e1921567ddb40">net</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a04c64346155d34517acdf8b587162868">process::windows</a> </li> <li>sendfile() : <a class="el" href="namespaceos.html#a625f02f99e88345b3e8f59223d7aa237">os</a> +, <a class="el" href="namespaceprocess_1_1windows.html#afc59f27e725b5feb12f76e1c008ba767">process::windows</a> </li> <li>sendfile_async() : <a class="el" href="namespaceos.html#ad8eec8c973d58ad0db1a7b6d81e77e96">os</a> @@ -215,7 +217,7 @@ </li> <li>size() : <a class="el" href="namespacefs.html#a60a9e5ca4119866d80691ce3c4701dc9">fs</a> -, <a class="el" href="namespaceos_1_1stat.html#af7fab12f2f4bf8ec51d5791202d41abc">os::stat</a> +, <a class="el" href="namespaceos_1_1stat.html#a7a116891923bc8b5d8c50f78da8657be">os::stat</a> </li> <li>sleep() : <a class="el" href="namespaceos.html#ab2b826c68a25af9e9ef47c570c36e137">os</a> @@ -224,15 +226,15 @@ : <a class="el" href="namespaceprocess_1_1metrics.html#ae84bcc44d0cc377941ccab88b9cecdc7">process::metrics</a> </li> <li>socket() -: <a class="el" href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">net</a> +: <a class="el" href="namespacenet.html#a1a28d65fc659da0fd236f2641cd07f8d">net</a> , <a class="el" href="namespacerouting.html#aee51d4e36a57bab7d6ada56e15467370">routing</a> </li> <li>soft_limit_in_bytes() -: <a class="el" href="namespacecgroups_1_1memory.html#a8773afb0ceff81705f1579585333f9fd">cgroups::memory</a> +: <a class="el" href="namespacecgroups_1_1memory.html#a1839563c856a81176f928d3fd6012b9d">cgroups::memory</a> </li> <li>spawn() : <a class="el" href="namespaceos.html#a18f614e5bdf40984c33888a5fa9599ca">os</a> -, <a class="el" href="namespaceprocess.html#aff22904a83567125d3b4d0d88e5a2270">process</a> +, <a class="el" href="namespaceprocess.html#a0458ac577eb50d91c829967c1d7ca3dd">process</a> </li> <li>split() : <a class="el" href="namespacestrings.html#a1f86a4a73f20056475dc065ec984eb7a">strings</a> @@ -246,7 +248,7 @@ <li>stat() : <a class="el" href="namespacecgroups_1_1cpuacct.html#a0aa25320dd324ad06619c2d650020102">cgroups::cpuacct</a> , <a class="el" href="namespacecgroups.html#a78e3c7ca2e422779908eec45f859d757">cgroups</a> -, <a class="el" href="namespaceos_1_1stat_1_1internal.html#aaa15e8ca46f9a135dc642eeb8340d0c1">os::stat::internal</a> +, <a class="el" href="namespaceos_1_1stat_1_1internal.html#a1e8d1b1fd61d53e84b399c10bb67520d">os::stat::internal</a> </li> <li>statistics() : <a class="el" href="namespacerouting_1_1link.html#a8486fce953717fcb949bfdc17a2dd3e1">routing::link</a> @@ -256,7 +258,7 @@ , <a class="el" href="namespacerouting_1_1queueing_1_1internal.html#a91cfc1e150fcd66e41ce327b7e1908de">routing::queueing::internal</a> </li> <li>status() -: <a class="el" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">proc</a> +: <a class="el" href="namespaceproc.html#a1bf2b02dcb579ebc87a75d4bccce97b1">proc</a> </li> <li>streamingMediaType() : <a class="el" href="namespacemesos_1_1internal.html#a1fe4afb9bc1a9f2688b39fdcc8818199">mesos::internal</a> @@ -277,10 +279,10 @@ : <a class="el" href="namespaceos.html#acae67fc8bd809c609bf1ffb281d921c6">os</a> </li> <li>subprocess() -: <a class="el" href="namespaceprocess.html#a0a748c548ad3a094196c98f00f9674cf">process</a> +: <a class="el" href="namespaceprocess.html#a2d7e0a283bc0c9eca8a8b0532e026269">process</a> </li> <li>subsystems() -: <a class="el" href="namespacecgroups.html#a155d0ce30a15e5b8b3ca02b189a7ead8">cgroups</a> +: <a class="el" href="namespacecgroups.html#a43ff5aa5dec5f24b0a3620847e9dd6b6">cgroups</a> </li> <li>supported() : <a class="el" href="namespacemesos_1_1internal_1_1fs.html#a0c6fe63428ca6e781338ed507a5952bd">mesos::internal::fs</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_func_w.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_func_w.html b/content/api/latest/c++/namespacemembers_func_w.html index 3945e55..5ee27e3 100644 --- a/content/api/latest/c++/namespacemembers_func_w.html +++ b/content/api/latest/c++/namespacemembers_func_w.html @@ -101,16 +101,21 @@ <li>which() : <a class="el" href="namespaceos.html#a8d651d36e878b4284b6ab739be15bf16">os</a> </li> +<li>windows_to_unix_epoch() +: <a class="el" href="namespaceos_1_1internal.html#a1493e5fcc92753702d08b36881ee8f97">os::internal</a> +</li> <li>workers() : <a class="el" href="namespaceprocess.html#a18419acc52ca1e339e684f8d9208207e">process</a> </li> <li>write() : <a class="el" href="namespacecgroups.html#ad199dcd922eab26b23b7011c7e0ca34a">cgroups</a> , <a class="el" href="namespacemesos_1_1internal_1_1log.html#a644a438399ebd57381f8c3eb9261c9bc">mesos::internal::log</a> -, <a class="el" href="namespaceos_1_1signal__safe.html#a1fe471bfb9a8e827779d24a58ba155d3">os::signal_safe</a> -, <a class="el" href="namespaceos.html#a1b67d073837cf74e5cdfa785d5c95fac">os</a> -, <a class="el" href="namespaceprocess_1_1io.html#a4c2c8de8f0750ab0f0ba40283774dfb6">process::io</a> -, <a class="el" href="namespaceprotobuf.html#aaedc9cc58ee2711a7b5e8831ba02a899">protobuf</a> +, <a class="el" href="namespaceos_1_1signal__safe.html#a35b77e10ddf35fa4569cb1a7d1e3532b">os::signal_safe</a> +, <a class="el" href="namespaceos.html#a73da9d49515dfff761c4887c3d6032c0">os</a> +, <a class="el" href="namespaceprocess_1_1io_1_1internal.html#ab4ecbbe96ef3c0600060e16c47988798">process::io::internal</a> +, <a class="el" href="namespaceprocess_1_1io.html#a49105dc036ad04225c92bd673da5ce39">process::io</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a69a29846581bb7bb1084e9ee90cbe8e6">process::windows</a> +, <a class="el" href="namespaceprotobuf.html#ad7c5a30c2e972caaed6b3896ac7e477f">protobuf</a> </li> <li>write_async() : <a class="el" href="namespaceos.html#a1af52685ba3e8fe8676af86cd16a1eb8">os</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_i.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_i.html b/content/api/latest/c++/namespacemembers_i.html index ee6c19d..d12d581 100644 --- a/content/api/latest/c++/namespacemembers_i.html +++ b/content/api/latest/c++/namespacemembers_i.html @@ -192,6 +192,10 @@ <li>IPC_OWNER : <a class="el" href="namespacemesos_1_1internal_1_1capabilities.html#abf44ee3490d4ec99e8549060bb8c9f58ae02fac06f4ff99fb60f27d2fa205f05e">mesos::internal::capabilities</a> </li> +<li>is_async() +: <a class="el" href="namespaceprocess_1_1io_1_1internal.html#a2291f1f69f4bdf80f3b114c493eb1e37">process::io::internal</a> +, <a class="el" href="namespaceprocess_1_1io.html#ada6541d78cad2ecc225be8a26662c748">process::io</a> +</li> <li>is_inprogress_error() : <a class="el" href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">net</a> </li> @@ -244,7 +248,7 @@ : <a class="el" href="namespacemesos_1_1roles.html#a70ebdbe08b14acfb4ef2571ce909cc86">mesos::roles</a> </li> <li>isTerminalState() -: <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#aa31907fb62769822a77c06ffbf10451f">mesos::internal::protobuf</a> +: <a class="el" href="namespacemesos_1_1internal_1_1protobuf.html#ade777537955dc212aea80866edd089f3">mesos::internal::protobuf</a> </li> <li>isUp() : <a class="el" href="namespacerouting_1_1link.html#a7d1c8b69ea1c451975f9275fd11466e3">routing::link</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_l.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_l.html b/content/api/latest/c++/namespacemembers_l.html index 63ad739..b32fac2 100644 --- a/content/api/latest/c++/namespacemembers_l.html +++ b/content/api/latest/c++/namespacemembers_l.html @@ -129,6 +129,9 @@ <li>LIBPROCESS_PID_FILE : <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1paths.html#a0eb6a5b0180c943374211289e1d4a312">mesos::internal::slave::paths</a> </li> +<li>libwinio_loop +: <a class="el" href="namespaceprocess.html#a3b1f9b3719ea6358ad426ae31bc8eae6">process</a> +</li> <li>limit_in_bytes() : <a class="el" href="namespacecgroups_1_1memory.html#abcf50b175fea5a521400f6b9e5574e90">cgroups::memory</a> </li> @@ -179,8 +182,8 @@ <li>longpath() : <a class="el" href="namespaceinternal_1_1windows.html#a9eb75fd12cc66dbf3f61c8f5156694e1">internal::windows</a> </li> -<li>loop() -: <a class="el" href="namespaceprocess.html#af4f4d3422eed6d82ea5af4a1a6e839a4">process</a> +<li>loop +: <a class="el" href="namespaceprocess.html#a59c192ee8ea5abbbee1642957f47c92a">process</a> </li> <li>LOW : <a class="el" href="namespacecgroups_1_1memory_1_1pressure.html#ad8d4aa5c0e09cc87fef44d6713f7b61fab0b8865245ba2ef579a93fd37a0447c1">cgroups::memory::pressure</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_m.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_m.html b/content/api/latest/c++/namespacemembers_m.html index b4be95f..2681d82 100644 --- a/content/api/latest/c++/namespacemembers_m.html +++ b/content/api/latest/c++/namespacemembers_m.html @@ -399,7 +399,7 @@ </li> <li>mount() : <a class="el" href="namespacecgroups.html#aa3c1a4d4d11cca392dc45ff363718fc1">cgroups</a> -, <a class="el" href="namespacemesos_1_1internal_1_1fs.html#af0d63e921d6b48554eaee82037356187">mesos::internal::fs</a> +, <a class="el" href="namespacemesos_1_1internal_1_1fs.html#afd1e45c2b648ff930d2df614beb6f34b">mesos::internal::fs</a> </li> <li>mounted() : <a class="el" href="namespacecgroups.html#a379912fbd52d8dba056a7d94041a224e">cgroups</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_p.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_p.html b/content/api/latest/c++/namespacemembers_p.html index f946740..873eea6 100644 --- a/content/api/latest/c++/namespacemembers_p.html +++ b/content/api/latest/c++/namespacemembers_p.html @@ -214,9 +214,9 @@ : <a class="el" href="namespaceos.html#a647be66325aca2685aa58780bbdb8e9a">os</a> </li> <li>post() -: <a class="el" href="namespaceprocess_1_1http.html#a0fd44430515dd0fed35dd5715bb104c9">process::http</a> +: <a class="el" href="namespaceprocess_1_1http.html#ae18e508ddf8cd65d7778320fa57550f3">process::http</a> , <a class="el" href="namespaceprocess_1_1http_1_1streaming.html#ae8a18c7263d4aefb7b1973c12590c688">process::http::streaming</a> -, <a class="el" href="namespaceprocess.html#a39beeddfda71dd96bf6a5c4b59481c5d">process</a> +, <a class="el" href="namespaceprocess.html#ab52d25f9fe4b28df7268c688725894d9">process</a> </li> <li>POST_RESERVATION_REFINEMENT : <a class="el" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">mesos</a> @@ -237,11 +237,15 @@ : <a class="el" href="namespacecgroups.html#a4bf20862574beb5b0f9af7799489866f">cgroups</a> , <a class="el" href="namespacemesos_1_1internal_1_1fs_1_1chroot.html#a3c224bd1aaafda45a323c3d84f8cc85a">mesos::internal::fs::chroot</a> </li> +<li>prepare_async() +: <a class="el" href="namespaceprocess_1_1io_1_1internal.html#a9458b24220892124c2112b3fe85e585e">process::io::internal</a> +, <a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114">process::io</a> +</li> <li>PROBE : <a class="el" href="namespacemesos_1_1csi_1_1v0.html#ab61c885767f2a0ad8088b449b6fbf76dacf6c07f1998a6216e98e366d69bd145f">mesos::csi::v0</a> </li> <li>process() -: <a class="el" href="namespaceos.html#acd11eaf54627e394ca79979ee884f6c4">os</a> +: <a class="el" href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">os</a> </li> <li>process_async_io_result() : <a class="el" href="namespaceinternal_1_1windows.html#a4ed4d1bae6b01fb85f8e6fad0b10599d">internal::windows</a> @@ -258,7 +262,7 @@ , <a class="el" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a3b1f8bd7b18c51af9d1f58842950b545">mesos::internal::log::protocol</a> </li> <li>protobuf() -: <a class="el" href="namespaceJSON.html#a93c179a1a5bd4164169d47cb1803f2a6">JSON</a> +: <a class="el" href="namespaceJSON.html#a1d44660d98caa78d154c47b5f60ba7f8">JSON</a> </li> <li>pstree() : <a class="el" href="namespaceos.html#ac324ef4f356d10686ce7024257251443">os</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_r.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_r.html b/content/api/latest/c++/namespacemembers_r.html index 02b7d46..6c4bfc9 100644 --- a/content/api/latest/c++/namespacemembers_r.html +++ b/content/api/latest/c++/namespacemembers_r.html @@ -105,14 +105,16 @@ : <a class="el" href="namespacecgroups.html#aa696e42fa4a13e922dee2d1f869146d2">cgroups</a> , <a class="el" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">mesos::internal::credentials</a> , <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1state.html#adeb89c1623e8d5af457b5b130aceac1d">mesos::internal::slave::state</a> -, <a class="el" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os</a> +, <a class="el" href="namespaceos.html#a7e99bac0fb06315c051358c7916fe692">os</a> +, <a class="el" href="namespaceprocess_1_1io_1_1internal.html#ac0a90b8abf47098e5a57d90e744a42a8">process::io::internal</a> , <a class="el" href="namespaceprocess_1_1io.html#a4c34d22e475e29f12ac739921dcc580f">process::io</a> </li> <li>READ : <a class="el" href="namespaceprocess_1_1io.html#aca1f059ca9f0d7360631c621debeb879">process::io</a> </li> <li>read() -: <a class="el" href="namespaceprotobuf.html#ae3e1bd443efafaf4f5d0f2ade10b81f9">protobuf</a> +: <a class="el" href="namespaceprocess_1_1windows.html#a7436ed89e84ff3415987de0ca9428d08">process::windows</a> +, <a class="el" href="namespaceprotobuf.html#a2120146c620b72d4e1e3ae47bdacb1b3">protobuf</a> </li> <li>read< Resources >() : <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1state.html#a6bdbe39082783fa5f8073104c5aa5b3c">mesos::internal::slave::state</a> @@ -166,6 +168,7 @@ </li> <li>recv() : <a class="el" href="namespacenet.html#ae1804e10c81f5743b459eeae1f6a701a">net</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a37fde6f31c2f9838a18cf83c2c865134">process::windows</a> </li> <li>redirect() : <a class="el" href="namespaceprocess_1_1io.html#ab9c4a52a88fcc9983438e391643424ca">process::io</a> @@ -230,7 +233,7 @@ : <a class="el" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http</a> </li> <li>requestDelete() -: <a class="el" href="namespaceprocess_1_1http.html#a1443ad581d0388a87013f0284906c2b3">process::http</a> +: <a class="el" href="namespaceprocess_1_1http.html#aa37acfb70e0b901b6f10c3d4a9b33c95">process::http</a> </li> <li>REQUEUES : <a class="el" href="namespacerouting_1_1queueing_1_1statistics.html#a9a6c9ceca9da969ea8a5536ea6551b0e">routing::queueing::statistics</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_s.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_s.html b/content/api/latest/c++/namespacemembers_s.html index e1c67f3..d0410ad 100644 --- a/content/api/latest/c++/namespacemembers_s.html +++ b/content/api/latest/c++/namespacemembers_s.html @@ -110,9 +110,11 @@ </li> <li>send() : <a class="el" href="namespacenet.html#aa0a46766b4aca53ea50e1921567ddb40">net</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a04c64346155d34517acdf8b587162868">process::windows</a> </li> <li>sendfile() : <a class="el" href="namespaceos.html#a625f02f99e88345b3e8f59223d7aa237">os</a> +, <a class="el" href="namespaceprocess_1_1windows.html#afc59f27e725b5feb12f76e1c008ba767">process::windows</a> </li> <li>sendfile_async() : <a class="el" href="namespaceos.html#ad8eec8c973d58ad0db1a7b6d81e77e96">os</a> @@ -236,7 +238,7 @@ </li> <li>size() : <a class="el" href="namespacefs.html#a60a9e5ca4119866d80691ce3c4701dc9">fs</a> -, <a class="el" href="namespaceos_1_1stat.html#a7a116891923bc8b5d8c50f78da8657be">os::stat</a> +, <a class="el" href="namespaceos_1_1stat.html#af7fab12f2f4bf8ec51d5791202d41abc">os::stat</a> </li> <li>sleep() : <a class="el" href="namespaceos.html#ab2b826c68a25af9e9ef47c570c36e137">os</a> @@ -262,11 +264,11 @@ : <a class="el" href="namespaceprocess.html#a355bad70041c7d49455fb810578a72cf">process</a> </li> <li>soft_limit_in_bytes() -: <a class="el" href="namespacecgroups_1_1memory.html#a8773afb0ceff81705f1579585333f9fd">cgroups::memory</a> +: <a class="el" href="namespacecgroups_1_1memory.html#a1839563c856a81176f928d3fd6012b9d">cgroups::memory</a> </li> <li>spawn() : <a class="el" href="namespaceos.html#a18f614e5bdf40984c33888a5fa9599ca">os</a> -, <a class="el" href="namespaceprocess.html#aff22904a83567125d3b4d0d88e5a2270">process</a> +, <a class="el" href="namespaceprocess.html#aa3e3f539080a94857e07401dd26b2f8f">process</a> </li> <li>split() : <a class="el" href="namespacestrings.html#a1f86a4a73f20056475dc065ec984eb7a">strings</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_vars_l.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_vars_l.html b/content/api/latest/c++/namespacemembers_vars_l.html index b68dc3f..7d021ba 100644 --- a/content/api/latest/c++/namespacemembers_vars_l.html +++ b/content/api/latest/c++/namespacemembers_vars_l.html @@ -106,6 +106,9 @@ <li>LIBPROCESS_PID_FILE : <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1paths.html#a0eb6a5b0180c943374211289e1d4a312">mesos::internal::slave::paths</a> </li> +<li>libwinio_loop +: <a class="el" href="namespaceprocess.html#a3b1f9b3719ea6358ad426ae31bc8eae6">process</a> +</li> <li>LISTEN : <a class="el" href="namespacerouting_1_1diagnosis_1_1socket_1_1state.html#a3340f48cbccfa4dcf8e1e99f39f12246">routing::diagnosis::socket::state</a> </li> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespacemembers_w.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespacemembers_w.html b/content/api/latest/c++/namespacemembers_w.html index f18d266..1c55211 100644 --- a/content/api/latest/c++/namespacemembers_w.html +++ b/content/api/latest/c++/namespacemembers_w.html @@ -125,6 +125,9 @@ <li>WINDOWS_PATH_SEPARATOR : <a class="el" href="namespaceos.html#ae86289c0463a69de1a4aa97ba9203e57">os</a> </li> +<li>windows_to_unix_epoch() +: <a class="el" href="namespaceos_1_1internal.html#a1493e5fcc92753702d08b36881ee8f97">os::internal</a> +</li> <li>workers() : <a class="el" href="namespaceprocess.html#a18419acc52ca1e339e684f8d9208207e">process</a> </li> @@ -132,16 +135,17 @@ : <a class="el" href="namespacecgroups.html#ad199dcd922eab26b23b7011c7e0ca34a">cgroups</a> , <a class="el" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">mesos::internal::log::protocol</a> , <a class="el" href="namespacemesos_1_1internal_1_1log.html#a644a438399ebd57381f8c3eb9261c9bc">mesos::internal::log</a> -, <a class="el" href="namespaceos_1_1signal__safe.html#a35b77e10ddf35fa4569cb1a7d1e3532b">os::signal_safe</a> -, <a class="el" href="namespaceos.html#aa0e3acff8992055da620cae8b455d93d">os</a> -, <a class="el" href="namespaceprocess_1_1io.html#a49105dc036ad04225c92bd673da5ce39">process::io</a> +, <a class="el" href="namespaceos_1_1signal__safe.html#a67bf0cd3aa924b5584a8744f15430835">os::signal_safe</a> +, <a class="el" href="namespaceos.html#a1b67d073837cf74e5cdfa785d5c95fac">os</a> +, <a class="el" href="namespaceprocess_1_1io_1_1internal.html#ab4ecbbe96ef3c0600060e16c47988798">process::io::internal</a> </li> <li>WRITE : <a class="el" href="namespaceprocess_1_1io.html#ab005316d71b45c5b05de0a6234c6f8fc">process::io</a> </li> <li>write() : <a class="el" href="namespaceprocess_1_1io.html#a4c2c8de8f0750ab0f0ba40283774dfb6">process::io</a> -, <a class="el" href="namespaceprotobuf.html#a1c2352b3f232044d4e960e227d530a92">protobuf</a> +, <a class="el" href="namespaceprocess_1_1windows.html#a69a29846581bb7bb1084e9ee90cbe8e6">process::windows</a> +, <a class="el" href="namespaceprotobuf.html#aaedc9cc58ee2711a7b5e8831ba02a899">protobuf</a> </li> <li>write_async() : <a class="el" href="namespaceos.html#a1af52685ba3e8fe8676af86cd16a1eb8">os</a> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespaceos_1_1internal.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespaceos_1_1internal.html b/content/api/latest/c++/namespaceos_1_1internal.html index 5b4f2a9..6d70747 100644 --- a/content/api/latest/c++/namespaceos_1_1internal.html +++ b/content/api/latest/c++/namespaceos_1_1internal.html @@ -72,6 +72,8 @@ Functions</h2></td></tr> <tr class="separator:a1f75643e24051d2b8d98244abf0b9ece"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a02c567b1b6bb441a3a29433a126cedec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceos_1_1internal.html#a02c567b1b6bb441a3a29433a126cedec">nodename</a> ()</td></tr> <tr class="separator:a02c567b1b6bb441a3a29433a126cedec"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1493e5fcc92753702d08b36881ee8f97"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceos_1_1internal.html#a1493e5fcc92753702d08b36881ee8f97">windows_to_unix_epoch</a> (const FILETIME &filetime)</td></tr> +<tr class="separator:a1493e5fcc92753702d08b36881ee8f97"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> @@ -262,6 +264,30 @@ Variables</h2></td></tr> </div> </div> +<a class="anchor" id="a1493e5fcc92753702d08b36881ee8f97"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">double os::internal::windows_to_unix_epoch </td> + <td>(</td> + <td class="paramtype">const FILETIME & </td> + <td class="paramname"><em>filetime</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +</div> +</div> <h2 class="groupheader">Variable Documentation</h2> <a class="anchor" id="a637592b0315b2f8c779ab681177f911a"></a> <div class="memitem"> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespaceprocess.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespaceprocess.html b/content/api/latest/c++/namespaceprocess.html index f67ae14..5370f46 100644 --- a/content/api/latest/c++/namespaceprocess.html +++ b/content/api/latest/c++/namespaceprocess.html @@ -80,6 +80,8 @@ Namespaces</h2></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespaceprocess_1_1network"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html">network</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespaceprocess_1_1windows"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1windows.html">windows</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> @@ -588,6 +590,8 @@ Variables</h2></td></tr> <tr class="separator:a373bd5e2bd8f2694e4589293af477854"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a355bad70041c7d49455fb810578a72cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classprocess_1_1SocketManager.html">SocketManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#a355bad70041c7d49455fb810578a72cf">socket_manager</a></td></tr> <tr class="separator:a355bad70041c7d49455fb810578a72cf"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3b1f9b3719ea6358ad426ae31bc8eae6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classprocess_1_1windows_1_1EventLoop.html">windows::EventLoop</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#a3b1f9b3719ea6358ad426ae31bc8eae6">libwinio_loop</a></td></tr> +<tr class="separator:a3b1f9b3719ea6358ad426ae31bc8eae6"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Typedef Documentation</h2> <a class="anchor" id="afc6611c4913642642277b44447a16e55"></a> @@ -4265,6 +4269,18 @@ template<typename F , typename std::enable_if< !is_specialization_of< t </div> </div> +<a class="anchor" id="a3b1f9b3719ea6358ad426ae31bc8eae6"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classprocess_1_1windows_1_1EventLoop.html">windows::EventLoop</a>* process::libwinio_loop</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> <a class="anchor" id="a59c192ee8ea5abbbee1642957f47c92a"></a> <div class="memitem"> <div class="memproto"> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/09fd0301/content/api/latest/c++/namespaceprocess_1_1io.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/namespaceprocess_1_1io.html b/content/api/latest/c++/namespaceprocess_1_1io.html index 3a515c4..a157401 100644 --- a/content/api/latest/c++/namespaceprocess_1_1io.html +++ b/content/api/latest/c++/namespaceprocess_1_1io.html @@ -49,6 +49,7 @@ </div><!-- top --> <div class="header"> <div class="summary"> +<a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> @@ -56,8 +57,19 @@ </div><!--header--> <div class="contents"> <table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespaceprocess_1_1io_1_1internal"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1io_1_1internal.html">internal</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> +<tr class="memitem:a9db94d84fb44b21fb669ade7c6a82114"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< <a class="el" href="structNothing.html">Nothing</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114">prepare_async</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> fd)</td></tr> +<tr class="memdesc:a9db94d84fb44b21fb669ade7c6a82114"><td class="mdescLeft"> </td><td class="mdescRight">Prepares a file descriptor to be ready for asynchronous IO. <a href="#a9db94d84fb44b21fb669ade7c6a82114">More...</a><br /></td></tr> +<tr class="separator:a9db94d84fb44b21fb669ade7c6a82114"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ada6541d78cad2ecc225be8a26662c748"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1io.html#ada6541d78cad2ecc225be8a26662c748">is_async</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> fd)</td></tr> +<tr class="memdesc:ada6541d78cad2ecc225be8a26662c748"><td class="mdescLeft"> </td><td class="mdescRight">Checks if <code><a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114" title="Prepares a file descriptor to be ready for asynchronous IO. ">io::prepare_async</a></code> has been called on the file descriptor. <a href="#ada6541d78cad2ecc225be8a26662c748">More...</a><br /></td></tr> +<tr class="separator:ada6541d78cad2ecc225be8a26662c748"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af71c45e0a85e21f6b39060f4e716cebf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classprocess_1_1Future.html">Future</a>< short > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1io.html#af71c45e0a85e21f6b39060f4e716cebf">poll</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> fd, short events)</td></tr> <tr class="memdesc:af71c45e0a85e21f6b39060f4e716cebf"><td class="mdescLeft"> </td><td class="mdescRight">Returns the events (a subset of the events specified) that can be performed on the specified file descriptor without blocking. <a href="#af71c45e0a85e21f6b39060f4e716cebf">More...</a><br /></td></tr> <tr class="separator:af71c45e0a85e21f6b39060f4e716cebf"><td class="memSeparator" colspan="2"> </td></tr> @@ -90,6 +102,25 @@ Variables</h2></td></tr> <tr class="separator:a34d62916736c1dfebd1585cf51f19d0c"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="ada6541d78cad2ecc225be8a26662c748"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classTry.html">Try</a><bool> process::io::is_async </td> + <td>(</td> + <td class="paramtype"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td> + <td class="paramname"><em>fd</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Checks if <code><a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114" title="Prepares a file descriptor to be ready for asynchronous IO. ">io::prepare_async</a></code> has been called on the file descriptor. </p> +<dl class="section return"><dt>Returns</dt><dd>Returns if the file descriptor is asynchronous. An asynchronous file descriptor is defined to be non-blocking on POSIX systems and overlapped and associated with an IO completion port on Windows. An error will be returned if the file descriptor is invalid. </dd></dl> + +</div> +</div> <a class="anchor" id="af71c45e0a85e21f6b39060f4e716cebf"></a> <div class="memitem"> <div class="memproto"> @@ -121,6 +152,27 @@ Variables</h2></td></tr> </div> </div> +<a class="anchor" id="a9db94d84fb44b21fb669ade7c6a82114"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classTry.html">Try</a><<a class="el" href="structNothing.html">Nothing</a>> process::io::prepare_async </td> + <td>(</td> + <td class="paramtype"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td> + <td class="paramname"><em>fd</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Prepares a file descriptor to be ready for asynchronous IO. </p> +<p>On POSIX systems, this sets the file descriptor to non-blocking. On Windows, this will assign the file descriptor to an IO completion port.</p> +<p>NOTE: Because the IO completion port is only known at the libprocess level, we need this function instead of simply using stout's <code><a class="el" href="namespaceos.html#adcd5b59146bb45a7ba431120a0d3b464">os::nonblock</a></code> and <code><a class="el" href="namespaceos.html#a238d27a90a749967761c1019d27b7e83">os::isNonblock</a></code> functions like we could do for POSIX systems.</p> +<dl class="section return"><dt>Returns</dt><dd>On success, returns <a class="el" href="structNothing.html">Nothing</a>. On error, returns an <a class="el" href="classError.html">Error</a>. </dd></dl> + +</div> +</div> <a class="anchor" id="a4c34d22e475e29f12ac739921dcc580f"></a> <div class="memitem"> <div class="memproto"> @@ -152,6 +204,7 @@ Variables</h2></td></tr> </div><div class="memdoc"> <p>Performs a single non-blocking read by polling on the specified file descriptor until any data can be be read. </p> +<p><code><a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114" title="Prepares a file descriptor to be ready for asynchronous IO. ">io::prepare_async</a></code> needs to be called beforehand.</p> <p>The future will become ready when some data is read (may be less than the specified size).</p> <dl class="section return"><dt>Returns</dt><dd>The number of bytes read or zero on EOF. A failure will be returned if an error is detected. </dd></dl> @@ -251,6 +304,7 @@ Variables</h2></td></tr> </div><div class="memdoc"> <p>Performs a single non-blocking write by polling on the specified file descriptor until data can be be written. </p> +<p><code><a class="el" href="namespaceprocess_1_1io.html#a9db94d84fb44b21fb669ade7c6a82114" title="Prepares a file descriptor to be ready for asynchronous IO. ">io::prepare_async</a></code> needs to be called beforehand.</p> <p>The future will become ready when some data is written (may be less than the specified size of the data).</p> <dl class="section return"><dt>Returns</dt><dd>The number of bytes written. A failure will be returned if an error is detected. If writing to a socket or pipe, an error will be returned if the the read end of the socket or pipe has been closed. </dd></dl>
