<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/> <title>glibmm: Glib::Thread::Exit Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGlib.html">Glib</a>::<a class="el" href="classGlib_1_1Thread.html">Thread</a>::<a class="el" href="classGlib_1_1Thread_1_1Exit.html">Exit</a> </div> </div> <div class="contents"> <h1>Glib::Thread::Exit Class Reference<br/> <small> [<a class="el" href="group__Threads.html">Threads</a>]</small> </h1><!-- doxytag: class="Glib::Thread::Exit" --> <p>Exception class used to exit from a thread. <a href="#_details">More...</a></p> <table border="0" cellpadding="0" cellspacing="0"> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Exception class used to exit from a thread. </p> <div class="fragment"><pre class="fragment"> <span class="keywordflow">throw</span> <a class="code" href="classGlib_1_1Thread_1_1Exit.html" title="Exception class used to exit from a thread.">Glib::Thread::Exit</a>(); </pre></div><p> Write this if you want to exit from a thread created by <a class="el" href="classGlib_1_1Thread.html#ab165854ff2fc9b454ee4d97050485782" title="Creates a new thread with the priority THREAD_PRIORITY_NORMAL.">Thread::create()</a>. Of course you must make sure not to catch <a class="el" href="classGlib_1_1Thread_1_1Exit.html" title="Exception class used to exit from a thread.">Thread::Exit</a> by accident, i.e. when using <code>catch(...)</code> somewhere in your code. </p> <hr/>The documentation for this class was generated from the following file:<ul> <li>glibmm/thread.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 11:07:25 2009 for glibmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>