91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.55M
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2020-12-14
  • 語言: C#
  • 標簽: 多線程??示例??C#??線程??

資源簡介

原創C#多線程詳細示例及PPT文檔,適于教學和研發。希望對您有幫助 C# multi-threaded detailed examples and PPT documents, suitable for teaching and research and development. Want to help you

多線程示例
==========
1 PThreadDemo1 多線程示例
  理解:如無多線程,則阻塞相關應用

2 PThreadDemo2 多線程示例
  理解:多線程無序現象

3 PThreadDemo3  使用LOCK 示例

4 PThreadDemo4  使用 MONITOR 示例

5 PThreadDemo5  使用 AutoResetEvent 示例

6 PThreadDemo6  使用 ManualResetEvent 示例

7 PThreadDemo7  BackgroundWorker 后臺線程示例

8 ThreadPool 線程池示例(微軟)



資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
#region?//
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
#endregion

using?System.Threading;?//

namespace?PTheadDemo1
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????????Control.CheckForIllegalCrossThreadCalls?=?false;????//
????????}

????????clsForTh?obj?=?new?clsForTh();
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????obj.times?=?10;
????????????doWithOutThread();
????????????//doWithThead();
????????????label1.Text?=?“END“;
????????}
????????private?void?doWithOutThread()
????????{?
????????????obj.LoopMethod();
????????}
???

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????9216??2009-12-14?09:57??PThreadDemo3\PThreadDemo3\bin\Debug\PTheadDemo2.exe

?????文件??????30208??2009-12-14?09:57??PThreadDemo3\PThreadDemo3\bin\Debug\PTheadDemo2.pdb

?????文件??????14328??2009-12-14?11:47??PThreadDemo3\PThreadDemo3\bin\Debug\PTheadDemo2.vshost.exe

?????文件????????490??2007-07-21?01:33??PThreadDemo3\PThreadDemo3\bin\Debug\PTheadDemo2.vshost.exe.manifest

?????文件???????2523??2009-12-14?09:59??PThreadDemo3\PThreadDemo3\Form1.cs

?????文件???????3111??2009-12-14?09:54??PThreadDemo3\PThreadDemo3\Form1.Designer.cs

?????文件???????5814??2009-12-14?09:54??PThreadDemo3\PThreadDemo3\Form1.resx

?????文件????????648??2009-12-14?09:39??PThreadDemo3\PThreadDemo3\obj\Debug\PTheadDemo2.csproj.FileListAbsolute.txt

?????文件????????847??2009-12-14?09:33??PThreadDemo3\PThreadDemo3\obj\Debug\PTheadDemo2.csproj.GenerateResource.Cache

?????文件???????9216??2009-12-14?09:57??PThreadDemo3\PThreadDemo3\obj\Debug\PTheadDemo2.exe

?????文件????????180??2009-12-14?09:54??PThreadDemo3\PThreadDemo3\obj\Debug\PTheadDemo2.Form1.resources

?????文件??????30208??2009-12-14?09:57??PThreadDemo3\PThreadDemo3\obj\Debug\PTheadDemo2.pdb

?????文件????????180??2009-12-14?09:29??PThreadDemo3\PThreadDemo3\obj\Debug\PTheadDemo2.Properties.Resources.resources

?????文件???????1314??2009-12-14?09:44??PThreadDemo3\PThreadDemo3\obj\Debug\PThreadDemo2.csproj.FileListAbsolute.txt

?????文件????????847??2009-12-14?09:41??PThreadDemo3\PThreadDemo3\obj\Debug\PThreadDemo2.csproj.GenerateResource.Cache

?????文件????????665??2009-12-14?11:47??PThreadDemo3\PThreadDemo3\obj\Debug\PThreadDemo3.csproj.FileListAbsolute.txt

?????文件????????847??2009-12-14?09:54??PThreadDemo3\PThreadDemo3\obj\Debug\PThreadDemo3.csproj.GenerateResource.Cache

?????文件????????472??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\Program.cs

?????文件???????1354??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\Properties\AssemblyInfo.cs

?????文件???????2872??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\Properties\Resources.Designer.cs

?????文件???????5612??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\Properties\Resources.resx

?????文件???????1096??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\Properties\Settings.Designer.cs

?????文件????????249??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\Properties\Settings.settings

?????文件???????3354??2009-12-14?09:11??PThreadDemo3\PThreadDemo3\PThreadDemo3.csproj

?????文件????????926??2009-12-14?09:45??PThreadDemo3\PThreadDemo3.sln

????..A..H.?????14336??2009-12-14?11:47??PThreadDemo3\PThreadDemo3.suo

?????文件???????9216??2009-12-14?11:47??PThreadDemo4\PThreadDemo4\bin\Debug\PTheadDemo.exe

?????文件??????26112??2009-12-14?11:47??PThreadDemo4\PThreadDemo4\bin\Debug\PTheadDemo.pdb

?????文件??????14328??2009-12-14?16:20??PThreadDemo4\PThreadDemo4\bin\Debug\PTheadDemo.vshost.exe

?????文件????????490??2007-07-21?01:33??PThreadDemo4\PThreadDemo4\bin\Debug\PTheadDemo.vshost.exe.manifest

............此處省略265個文件信息

評論

共有 條評論