You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
#include "StdAfx.h"
|
|
#include "CriticalSection.h"
|
|
|
|
//注意在使用临界区时,Unlock 之前不能抛出异常,避免临界区锁死
|
|
|
|
CCriticalSection gCriticalSection_LaserDevice;//主激光线程临界区
|
|
CCriticalSection gCriticalSection_RedLaserDevice;//辅助激光线程临界区
|
|
CCriticalSection gCriticalSection_WarningMsg;//报警消息线程临界区
|
|
|
|
CCriticalSection gCriticalSection_Secs;//Secs 通信线程临界区
|
|
CCriticalSection gCriticalSection_TransferArm;//机械手通信线程临界区
|
|
CCriticalSection gCriticalSection_PlcComm;//PLC 通信用临界区
|
|
|
|
CCriticalSection gCriticalSection_CassetteToAligner;//CassetteToAligner 线程临界区
|
|
|
|
CCriticalSection gCriticalSection_MonitoringOnAnnealProcess;//退火过程监控临界区
|
|
|
|
CCriticalSection gCriticalSection_WorkCmdInvoker;//用于cmd 临界区
|
|
CCriticalSection gCriticalSection_JobQueue;//用于JobQueue 临界区
|
|
CCriticalSection gCriticalSection_SendLog;//用于发送日志的临界区
|
|
|
|
CCriticalSection gCriticalSection_AutomationWork;
|
|
CCriticalSection gCriticalSection_TransferWaferInfo;
|
|
CCriticalSection gCriticalSection_ViewInvalidate;
|
|
|
|
|
|
|
|
|