| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.18"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>Crashpad: crashpad::ScopedProcessSuspend Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| <link href="crashpad_doxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname">Crashpad |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.18 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="namespacecrashpad.html">crashpad</a></li><li class="navelem"><a class="el" href="classcrashpad_1_1ScopedProcessSuspend.html">ScopedProcessSuspend</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="classcrashpad_1_1ScopedProcessSuspend-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">crashpad::ScopedProcessSuspend Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Manages the suspension of another process. |
| <a href="classcrashpad_1_1ScopedProcessSuspend.html#details">More...</a></p> |
| |
| <p><code>#include "util/win/scoped_process_suspend.h"</code></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:a210a71fa16ddda935e8f3da72aaf43aa"><td class="memItemLeft" align="right" valign="top"><a id="a210a71fa16ddda935e8f3da72aaf43aa"></a> |
|  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ScopedProcessSuspend.html#a210a71fa16ddda935e8f3da72aaf43aa">ScopedProcessSuspend</a> (HANDLE process)</td></tr> |
| <tr class="memdesc:a210a71fa16ddda935e8f3da72aaf43aa"><td class="mdescLeft"> </td><td class="mdescRight">Does not take ownership of <em>process</em>. <br /></td></tr> |
| <tr class="separator:a210a71fa16ddda935e8f3da72aaf43aa"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab7be805456fb5b7871dfca9fecf66e91"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ScopedProcessSuspend.html#ab7be805456fb5b7871dfca9fecf66e91">TolerateTermination</a> ()</td></tr> |
| <tr class="memdesc:ab7be805456fb5b7871dfca9fecf66e91"><td class="mdescLeft"> </td><td class="mdescRight">Informs the object that the suspended process may be terminating, and that this should not be treated as an error. <a href="classcrashpad_1_1ScopedProcessSuspend.html#ab7be805456fb5b7871dfca9fecf66e91">More...</a><br /></td></tr> |
| <tr class="separator:ab7be805456fb5b7871dfca9fecf66e91"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Manages the suspension of another process. </p> |
| <p>While an object of this class exists, the other process will be suspended. Once the object is destroyed, the other process will become eligible for resumption.</p> |
| <p>If this process crashes while this object exists, there is no guarantee that the other process will be resumed. </p> |
| </div><h2 class="groupheader">Member Function Documentation</h2> |
| <a id="ab7be805456fb5b7871dfca9fecf66e91"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ab7be805456fb5b7871dfca9fecf66e91">◆ </a></span>TolerateTermination()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void crashpad::ScopedProcessSuspend::TolerateTermination </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Informs the object that the suspended process may be terminating, and that this should not be treated as an error. </p> |
| <p>Normally, attempting to resume a terminating process during destruction results in an error message being logged for <code>STATUS_PROCESS_IS_TERMINATING</code>. When it is known that a process may be terminating, this method may be called to suppress that error message. </p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li>util/win/scoped_process_suspend.h</li> |
| <li>util/win/scoped_process_suspend.cc</li> |
| </ul> |
| </div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.18 |
| </small></address> |
| </body> |
| </html> |