-
C# 创建有参、无参数等多线程操作实例
C# 多线程操作实例,获取指定进程的进程详细信息、获取指定进程的模块详细信息、创建无参数的多线程应用程序、创建带参数的多线程应用程序、创建共享线程模拟资源共享、创建子线程更新主线程数据等,部分代码分享如下:
if (MyThread.ThreadState == ThreadState.Terminated)
MyData += "
当前状态:已完成执行并已退出";
if (MyThread.ThreadState == ThreadState.Transition)
MyData += "
当前状态:在可以执行前等待处理器之外的资源";
if (MyThread.ThreadState == ThreadState.Unknown)
MyData += "
当前状态:状态未知";
if (MyThread.ThreadState == ThreadState.Wait)
MyData += "
当前状态:正在等待外围操作完成或等待资源释放";
if (MyThread.WaitReason == ThreadWaitReason.EventPairHigh)
MyData += "
等待原因:线程正在等待事件对高";
if (MyThread.WaitReason == ThreadWaitReason.EventPairLow)
MyData += "
等待原因:线程正在等待事件对低";
if (MyThread.WaitReason == ThreadWaitReason.ExecutionDelay)
MyData += "
等待原因:线程执行延迟";
if (MyThread.WaitReason == ThreadWaitReason.Executive)
MyData += "
等待原因:线程正在等待计划程序";
if (MyThread.WaitReason == ThreadWaitReason.FreePage)
MyData += "
等待原因:线程正在等待可用的虚拟内存页";
if (MyThread.WaitReason == ThreadWaitReason.LpcReceive)
- 2022-04-18 07:37:09下载
- 积分:1
-
035
说明: 在C++环境下的冗余码编程,可进行8个字符的转换.(C environment in the redundancy program, eight characters for the conversion.)
- 2005-11-04 16:09:57下载
- 积分:1
-
Setthzer_Robocup_Sim03
Basic of Robocup Simulation by VB 6.0.
Robot can avoid the obstacle by fuzzy rule and find the optimal angle to shoot ball into goal.
- 2009-08-07 21:18:07下载
- 积分:1
-
二维滤波f-k
说明: 通过输入地震数据,经过二维快速傅里叶变化,-输出f-k谱-c语言(Two-dimensional Fourier transform-output F-K spectrum-c language)
- 2020-11-18 12:09:40下载
- 积分:1
-
msp430单片机实现正弦波频率和峰峰值的测量dianshe_ad
本程序适用于msp430单片机实现正弦波频率和峰峰值的测量,其测量的精确度很高。(This procedure is suitable for msp430 single-chip to achieve the sine wave frequency and peak and peak measurement, the measurement accuracy is high)
- 2020-07-17 08:58:48下载
- 积分:1
-
WinMerge-2.4.10-src
WinMerge可以显示两个文件的不同之处,并提供文件或文件夹合并功能。(WinMerge can show two different documents, and providing documents or folders merge function.)
- 2006-10-16 11:50:31下载
- 积分:1
-
ImageFusion_PCA
在GDAL库下,采用主成分变换实现多光谱影像与全色高分辨影像的融合。(Under the GDAL library, the principal component transformation is used to fuse multispectral images with panchromatic high resolution images.)
- 2021-01-21 13:08:42下载
- 积分:1
-
MOVIDRIVE_DFP21_DPV1
用于西门子STEP7硬件组态,SEW变频器的GSD文件(SIEMENS STEP7, GSD File of SEW Valve Island, Hardware Configuration Use)
- 2020-06-20 07:20:01下载
- 积分:1
-
SSCOM串口的源代码
【实例简介】SSCOM助手的源代码
- 2021-08-06 00:30:53下载
- 积分:1
-
MAX7219_DAC_Serial
AD转换芯片源程序。串行模式通信。。带电路(AD conversion chip source. Serial mode of communication. . Band circuit)
- 2008-12-15 18:08:26下载
- 积分:1