<ahref="#pub-methods">Public Member Functions</a>|
<ahref="#pro-methods">Protected Member Functions</a>|
<ahref="classcrashpad_1_1SessionEndWatcher-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::SessionEndWatcher Class Reference<spanclass="mlabels"><spanclass="mlabel">abstract</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>Creates a hidden window and waits for a <code>WM_ENDSESSION</code> message, indicating that the session is ending and the application should terminate.
<areahref="classcrashpad_1_1Thread.html"title="Basic thread abstraction. Users should derive from this class and implement ThreadMain(). "alt="crashpad::Thread"shape="rect"coords="0,0,184,24"/>
<trclass="inherit_header pub_methods_classcrashpad_1_1Thread"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classcrashpad_1_1Thread')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classcrashpad_1_1Thread.html">crashpad::Thread</a></td></tr>
<trclass="memdesc:a3a3659f578b8f5df8bd31b7d5af4a3b0 inherit pub_methods_classcrashpad_1_1Thread"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create a platform thread, and run ThreadMain() on that thread. Must be paired with a call to <aclass="el"href="classcrashpad_1_1Thread.html#a955be81e744804474a126719f66bb3e6"title="Block until ThreadMain() exits. This may be called from any thread. Must paired with a call to Start(...">Join()</a>. <br/></td></tr>
<trclass="memdesc:a955be81e744804474a126719f66bb3e6 inherit pub_methods_classcrashpad_1_1Thread"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Block until ThreadMain() exits. This may be called from any thread. Must paired with a call to <aclass="el"href="classcrashpad_1_1Thread.html#a3a3659f578b8f5df8bd31b7d5af4a3b0"title="Create a platform thread, and run ThreadMain() on that thread. Must be paired with a call to Join()...">Start()</a>. <br/></td></tr>
<divclass="textblock"><p>Creates a hidden window and waits for a <code>WM_ENDSESSION</code> message, indicating that the session is ending and the application should terminate. </p>
<p>A dedicated thread will be created to run the <code>GetMessage()</code>-based message loop required to monitor for this message.</p>
<p>Users should subclass this class and receive notifications by implementing the SessionEndWatcherEvent() method. </p>
</div><h2class="groupheader">Constructor & Destructor Documentation</h2>