⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threads.cpp

📁 美国COPLEY驱动器,程序开发工具之一.
💻 CPP
字号:
/************************************************************/
/*                                                          */
/*  Copley Motion Libraries                                 */
/*                                                          */
/*  Author: Stephen Glow                                    */
/*                                                          */
/*  Copyright (c) 2002-2005 Copley Controls Corp.           */
/*                          http://www.copleycontrols.com   */
/*                                                          */
/************************************************************/

/** \file 
This file only contains definitions for the generic thread error objects.
The code used to implement the OS specific thread methods is located in
Operating system specific files such as Threads_posix.cpp and Threads_w32.cpp.
*/

#include "CML_Threads.h"

CML_NAMESPACE_USE();

/* static thread error codes */
CML_NEW_ERROR( ThreadError, Start,     "Error starting the thread" );
CML_NEW_ERROR( ThreadError, Running,   "Thread has already been started" );
CML_NEW_ERROR( ThreadError, Timeout,   "Timeout" );
CML_NEW_ERROR( ThreadError, General,   "General thread error" );
CML_NEW_ERROR( ThreadError, BadParam,  "Illegal parameter value" );
CML_NEW_ERROR( ThreadError, Alloc,     "Memory allocation error" );


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -