From 258c2d6b0adf683774ce117fb889d0774971352a Mon Sep 17 00:00:00 2001 From: syneffort Date: Tue, 8 Nov 2022 15:30:59 +0900 Subject: [PATCH] task (ing) --- MultiThreadingStudy/CacelTask/App.config | 6 + .../CacelTask/CancelTask.csproj | 83 ++++++++++++ .../CacelTask/Form1.Designer.cs | 88 +++++++++++++ MultiThreadingStudy/CacelTask/Form1.cs | 48 +++++++ MultiThreadingStudy/CacelTask/Form1.resx | 120 ++++++++++++++++++ MultiThreadingStudy/CacelTask/Program.cs | 22 ++++ .../CacelTask/Properties/AssemblyInfo.cs | 36 ++++++ .../Properties/Resources.Designer.cs | 71 +++++++++++ .../CacelTask/Properties/Resources.resx | 117 +++++++++++++++++ .../CacelTask/Properties/Settings.Designer.cs | 30 +++++ .../CacelTask/Properties/Settings.settings | 7 + MultiThreadingStudy/MultiThreadingStudy.sln | 12 ++ MultiThreadingStudy/UseTask/App.config | 6 + MultiThreadingStudy/UseTask/CreateTask.cs | 58 +++++++++ MultiThreadingStudy/UseTask/Program.cs | 22 ++++ .../UseTask/Properties/AssemblyInfo.cs | 36 ++++++ MultiThreadingStudy/UseTask/UseTask.csproj | 54 ++++++++ 17 files changed, 816 insertions(+) create mode 100644 MultiThreadingStudy/CacelTask/App.config create mode 100644 MultiThreadingStudy/CacelTask/CancelTask.csproj create mode 100644 MultiThreadingStudy/CacelTask/Form1.Designer.cs create mode 100644 MultiThreadingStudy/CacelTask/Form1.cs create mode 100644 MultiThreadingStudy/CacelTask/Form1.resx create mode 100644 MultiThreadingStudy/CacelTask/Program.cs create mode 100644 MultiThreadingStudy/CacelTask/Properties/AssemblyInfo.cs create mode 100644 MultiThreadingStudy/CacelTask/Properties/Resources.Designer.cs create mode 100644 MultiThreadingStudy/CacelTask/Properties/Resources.resx create mode 100644 MultiThreadingStudy/CacelTask/Properties/Settings.Designer.cs create mode 100644 MultiThreadingStudy/CacelTask/Properties/Settings.settings create mode 100644 MultiThreadingStudy/UseTask/App.config create mode 100644 MultiThreadingStudy/UseTask/CreateTask.cs create mode 100644 MultiThreadingStudy/UseTask/Program.cs create mode 100644 MultiThreadingStudy/UseTask/Properties/AssemblyInfo.cs create mode 100644 MultiThreadingStudy/UseTask/UseTask.csproj diff --git a/MultiThreadingStudy/CacelTask/App.config b/MultiThreadingStudy/CacelTask/App.config new file mode 100644 index 0000000..aee9adf --- /dev/null +++ b/MultiThreadingStudy/CacelTask/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MultiThreadingStudy/CacelTask/CancelTask.csproj b/MultiThreadingStudy/CacelTask/CancelTask.csproj new file mode 100644 index 0000000..8afed86 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/CancelTask.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {E06CEFBE-F024-4881-951A-D0E80ADB2D22} + WinExe + CacelTask + CacelTask + v4.8.1 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/MultiThreadingStudy/CacelTask/Form1.Designer.cs b/MultiThreadingStudy/CacelTask/Form1.Designer.cs new file mode 100644 index 0000000..ed1f71e --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Form1.Designer.cs @@ -0,0 +1,88 @@ +namespace CancelTask +{ + partial class Form1 + { + /// + /// 필수 디자이너 변수입니다. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 사용 중인 모든 리소스를 정리합니다. + /// + /// 관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form 디자이너에서 생성한 코드 + + /// + /// 디자이너 지원에 필요한 메서드입니다. + /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. + /// + private void InitializeComponent() + { + this.progressText = new System.Windows.Forms.TextBox(); + this.cancelButton = new System.Windows.Forms.Button(); + this.runButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // progressText + // + this.progressText.Location = new System.Drawing.Point(13, 14); + this.progressText.Name = "progressText"; + this.progressText.ReadOnly = true; + this.progressText.Size = new System.Drawing.Size(163, 21); + this.progressText.TabIndex = 4; + this.progressText.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cancelButton + // + this.cancelButton.Location = new System.Drawing.Point(98, 50); + this.cancelButton.Name = "cancelButton"; + this.cancelButton.Size = new System.Drawing.Size(79, 65); + this.cancelButton.TabIndex = 2; + this.cancelButton.Text = "Cancel"; + this.cancelButton.UseVisualStyleBackColor = true; + this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); + // + // runButton + // + this.runButton.Location = new System.Drawing.Point(13, 50); + this.runButton.Name = "runButton"; + this.runButton.Size = new System.Drawing.Size(79, 65); + this.runButton.TabIndex = 3; + this.runButton.Text = "Run"; + this.runButton.UseVisualStyleBackColor = true; + this.runButton.Click += new System.EventHandler(this.runButton_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(189, 123); + this.Controls.Add(this.progressText); + this.Controls.Add(this.cancelButton); + this.Controls.Add(this.runButton); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "Form1"; + this.Text = "Form1"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox progressText; + private System.Windows.Forms.Button cancelButton; + private System.Windows.Forms.Button runButton; + } +} + diff --git a/MultiThreadingStudy/CacelTask/Form1.cs b/MultiThreadingStudy/CacelTask/Form1.cs new file mode 100644 index 0000000..eea9309 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Form1.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace CancelTask +{ + public partial class Form1 : Form + { + private CancellationTokenSource cancelTokenSource; + + public Form1() + { + InitializeComponent(); + } + + private void runButton_Click(object sender, EventArgs e) + { + + } + + private void cancelButton_Click(object sender, EventArgs e) + { + + } + + private async void Run() + { + cancelTokenSource = new CancellationTokenSource(); + CancellationToken token = cancelTokenSource.Token; + + Task task1 = Task.Factory.StartNew(LongCalcAsync, token); + + dynamic res = await Task; + } + + private object LongCalcAsync() + { + + } + } +} diff --git a/MultiThreadingStudy/CacelTask/Form1.resx b/MultiThreadingStudy/CacelTask/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MultiThreadingStudy/CacelTask/Program.cs b/MultiThreadingStudy/CacelTask/Program.cs new file mode 100644 index 0000000..7f6b54c --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace CancelTask +{ + internal static class Program + { + /// + /// 해당 애플리케이션의 주 진입점입니다. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/MultiThreadingStudy/CacelTask/Properties/AssemblyInfo.cs b/MultiThreadingStudy/CacelTask/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..aada9a3 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 +// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 +// 이러한 특성 값을 변경하세요. +[assembly: AssemblyTitle("CacelTask")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CacelTask")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 +// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 +// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. +[assembly: ComVisible(false)] + +// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. +[assembly: Guid("e06cefbe-f024-4881-951a-d0e80adb2d22")] + +// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. +// +// 주 버전 +// 부 버전 +// 빌드 번호 +// 수정 버전 +// +// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 +// 기본값으로 할 수 있습니다. +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MultiThreadingStudy/CacelTask/Properties/Resources.Designer.cs b/MultiThreadingStudy/CacelTask/Properties/Resources.Designer.cs new file mode 100644 index 0000000..befdc14 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace CancelTask.Properties +{ + + + /// + /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + /// + // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder + // 클래스에서 자동으로 생성되었습니다. + // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 + // ResGen을 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CacelTask.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을 + /// 재정의합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/MultiThreadingStudy/CacelTask/Properties/Resources.resx b/MultiThreadingStudy/CacelTask/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MultiThreadingStudy/CacelTask/Properties/Settings.Designer.cs b/MultiThreadingStudy/CacelTask/Properties/Settings.Designer.cs new file mode 100644 index 0000000..3f70732 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace CancelTask.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/MultiThreadingStudy/CacelTask/Properties/Settings.settings b/MultiThreadingStudy/CacelTask/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/MultiThreadingStudy/CacelTask/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MultiThreadingStudy/MultiThreadingStudy.sln b/MultiThreadingStudy/MultiThreadingStudy.sln index 1385125..589af68 100644 --- a/MultiThreadingStudy/MultiThreadingStudy.sln +++ b/MultiThreadingStudy/MultiThreadingStudy.sln @@ -9,6 +9,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CreateThreadPool", "CreateT EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UseBackgroundWorker", "UseBackgroundWorker\UseBackgroundWorker.csproj", "{4075A6FA-BFCC-48BA-AADC-45AFA6074533}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UseTask", "UseTask\UseTask.csproj", "{CC32607B-C071-420C-8CE5-02D86A7C4DAD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CancelTask", "CacelTask\CancelTask.csproj", "{E06CEFBE-F024-4881-951A-D0E80ADB2D22}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -27,6 +31,14 @@ Global {4075A6FA-BFCC-48BA-AADC-45AFA6074533}.Debug|Any CPU.Build.0 = Debug|Any CPU {4075A6FA-BFCC-48BA-AADC-45AFA6074533}.Release|Any CPU.ActiveCfg = Release|Any CPU {4075A6FA-BFCC-48BA-AADC-45AFA6074533}.Release|Any CPU.Build.0 = Release|Any CPU + {CC32607B-C071-420C-8CE5-02D86A7C4DAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CC32607B-C071-420C-8CE5-02D86A7C4DAD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CC32607B-C071-420C-8CE5-02D86A7C4DAD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CC32607B-C071-420C-8CE5-02D86A7C4DAD}.Release|Any CPU.Build.0 = Release|Any CPU + {E06CEFBE-F024-4881-951A-D0E80ADB2D22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E06CEFBE-F024-4881-951A-D0E80ADB2D22}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E06CEFBE-F024-4881-951A-D0E80ADB2D22}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E06CEFBE-F024-4881-951A-D0E80ADB2D22}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MultiThreadingStudy/UseTask/App.config b/MultiThreadingStudy/UseTask/App.config new file mode 100644 index 0000000..aee9adf --- /dev/null +++ b/MultiThreadingStudy/UseTask/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MultiThreadingStudy/UseTask/CreateTask.cs b/MultiThreadingStudy/UseTask/CreateTask.cs new file mode 100644 index 0000000..07d6751 --- /dev/null +++ b/MultiThreadingStudy/UseTask/CreateTask.cs @@ -0,0 +1,58 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace UseTask +{ + internal class CreateTask + { + // Task: similar with ThredPool but more faster and flexible + public static void StartNew() + { + Task.Factory.StartNew(new Action(Run), null); + Task.Factory.StartNew(new Action(Run), "1st"); + Task.Factory.StartNew(Run, "2nd"); + } + + public static void StartWait() + { + Task t1 = new Task(new Action(Run), "1st"); + Task t2 = new Task(() => + { + Console.WriteLine("Long Query"); + }); + + t1.Start(); + t2.Start(); + + t1.Wait(); + t2.Wait(); + } + + // Task: T is return type + public static void CreateGenericTask() + { + Task task = Task.Factory.StartNew(() => CalcSize("Hello World!")); + + Thread.Sleep(1000); + + int result = task.Result; + + Console.WriteLine($"Result={result}"); + } + + private static void Run(object data) + { + Console.WriteLine(data == null ? "NULL" : data); + } + + private static int CalcSize(string data) + { + string s = data == null ? "" : data.ToString(); + return s.Length; + } + } +} diff --git a/MultiThreadingStudy/UseTask/Program.cs b/MultiThreadingStudy/UseTask/Program.cs new file mode 100644 index 0000000..0153c99 --- /dev/null +++ b/MultiThreadingStudy/UseTask/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace UseTask +{ + internal class Program + { + static void Main(string[] args) + { + //CreateTask.StartNew(); + + //CreateTask.StartWait(); + + CreateTask.CreateGenericTask(); + + Console.ReadKey(); + } + } +} diff --git a/MultiThreadingStudy/UseTask/Properties/AssemblyInfo.cs b/MultiThreadingStudy/UseTask/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..43a2faf --- /dev/null +++ b/MultiThreadingStudy/UseTask/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 +// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 +// 이러한 특성 값을 변경하세요. +[assembly: AssemblyTitle("UseTask")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("UseTask")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 +// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 +// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. +[assembly: ComVisible(false)] + +// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. +[assembly: Guid("cc32607b-c071-420c-8ce5-02d86a7c4dad")] + +// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. +// +// 주 버전 +// 부 버전 +// 빌드 번호 +// 수정 버전 +// +// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 +// 기본값으로 할 수 있습니다. +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MultiThreadingStudy/UseTask/UseTask.csproj b/MultiThreadingStudy/UseTask/UseTask.csproj new file mode 100644 index 0000000..5389989 --- /dev/null +++ b/MultiThreadingStudy/UseTask/UseTask.csproj @@ -0,0 +1,54 @@ + + + + + Debug + AnyCPU + {CC32607B-C071-420C-8CE5-02D86A7C4DAD} + Exe + UseTask + UseTask + v4.8.1 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file