threads_8cpp-source.html
来自「美国COPLEY驱动器,程序开发工具之一.」· HTML 代码 · 共 50 行
HTML
50 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Copley Motion Library: Threads.cpp Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><div class="nav"><a class="el" href="dir_000000.html">c</a></div><h1>Threads.cpp</h1><a href="Threads_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/************************************************************/</span><a name="l00002"></a>00002 <span class="comment">/* */</span><a name="l00003"></a>00003 <span class="comment">/* Copley Motion Libraries */</span><a name="l00004"></a>00004 <span class="comment">/* */</span><a name="l00005"></a>00005 <span class="comment">/* Author: Stephen Glow */</span><a name="l00006"></a>00006 <span class="comment">/* */</span><a name="l00007"></a>00007 <span class="comment">/* Copyright (c) 2002-2005 Copley Controls Corp. */</span><a name="l00008"></a>00008 <span class="comment">/* http://www.copleycontrols.com */</span><a name="l00009"></a>00009 <span class="comment">/* */</span><a name="l00010"></a>00010 <span class="comment">/************************************************************/</span><a name="l00011"></a>00011 <span class="comment"></span><a name="l00012"></a>00012 <span class="comment">/** \file </span><a name="l00013"></a>00013 <span class="comment">This file only contains definitions for the generic thread error objects.</span><a name="l00014"></a>00014 <span class="comment">The code used to implement the OS specific thread methods is located in</span><a name="l00015"></a>00015 <span class="comment">Operating system specific files such as Threads_posix.cpp and Threads_w32.cpp.</span><a name="l00016"></a>00016 <span class="comment">*/</span><a name="l00017"></a>00017 <a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="CML__Threads_8h.html">CML_Threads.h</a>"</span><a name="l00019"></a>00019 <a name="l00020"></a>00020 <a class="code" href="CML__Settings_8h.html#a13">CML_NAMESPACE_USE</a>();<a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="comment">/* static thread error codes */</span><a name="l00023"></a>00023 <a class="code" href="CML__Error_8h.html#a0">CML_NEW_ERROR</a>( <a class="code" href="classThreadError.html">ThreadError</a>, Start, <span class="stringliteral">"Error starting the thread"</span> );<a name="l00024"></a>00024 <a class="code" href="CML__Error_8h.html#a0">CML_NEW_ERROR</a>( <a class="code" href="classThreadError.html">ThreadError</a>, Running, <span class="stringliteral">"Thread has already been started"</span> );<a name="l00025"></a>00025 <a class="code" href="CML__Error_8h.html#a0">CML_NEW_ERROR</a>( <a class="code" href="classThreadError.html">ThreadError</a>, Timeout, <span class="stringliteral">"Timeout"</span> );<a name="l00026"></a>00026 <a class="code" href="CML__Error_8h.html#a0">CML_NEW_ERROR</a>( <a class="code" href="classThreadError.html">ThreadError</a>, General, <span class="stringliteral">"General thread error"</span> );<a name="l00027"></a>00027 <a class="code" href="CML__Error_8h.html#a0">CML_NEW_ERROR</a>( <a class="code" href="classThreadError.html">ThreadError</a>, BadParam, <span class="stringliteral">"Illegal parameter value"</span> );<a name="l00028"></a>00028 <a class="code" href="CML__Error_8h.html#a0">CML_NEW_ERROR</a>( <a class="code" href="classThreadError.html">ThreadError</a>, Alloc, <span class="stringliteral">"Memory allocation error"</span> );<a name="l00029"></a>00029 <a name="l00030"></a>00030 </pre></div><hr><address style="align: right;"><small>Copley Motion Library, Copyright (c) 2002-2003<a href="http://www.copleycontrols.com"><img src="CCC_logo.gif" alt="Copley Controls Corp." align="middle" border=0 ></a></small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?