Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Beginner's Guide to Threading in .NET: Part 3 of n

, 10 Aug 2008
This article is all about how to control the synchronization of different threads.
threadingpart3.zip
ThreadingPart3
AutoResetEventTest
bin
Debug
AutoResetEventTest.exe
AutoResetEventTest.vshost.exe
AutoResetEventTest.vshost.exe.manifest
ThreadingPart3.vshost.exe.manifest
obj
Debug
TempPE
Properties
InterlockedTest
bin
Debug
InterlockedTest.exe
InterlockedTest.vshost.exe
InterlockedTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
LockTest
bin
Debug
LockTest.exe
LockTest.vshost.exe
LockTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
ManualResetEventTest
bin
Debug
ManualResetEventTest.exe
ManualResetEventTest.vshost.exe
obj
Debug
TempPE
Properties
MethodImplSynchronizedTest
bin
Debug
MethodImplSynchronizedTest.exe
MethodImplSynchronizedTest.vshost.exe
MethodImplSynchronizedTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
MonitorTest
bin
Debug
MonitorTest.exe
MonitorTest.vshost.exe
MonitorTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
MutexTest
bin
Debug
MutexTest.exe
MutexTest.vshost.exe
MutexTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
NoLockTest
bin
Debug
NoLockTest.exe
NoLockTest.vshost.exe
NoLockTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
OrderSystem
bin
Debug
OrderSystem.exe
OrderSystem.vshost.exe
OrderSystem.vshost.exe.manifest
obj
Debug
TempPE
Properties
ReaderWriterLockSlim
bin
Debug
ReaderWriterLockSlimTest.exe
ReaderWriterLockSlimTest.vshost.exe
ReaderWriterLockSlimTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
SemaphoreTest
bin
Debug
SemaphoreTest.exe
SemaphoreTest.vshost.exe
SemaphoreTest.vshost.exe.manifest
obj
Debug
TempPE
Properties
ThreadingPart3.gpState
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("LockTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LockTest")]
[assembly: AssemblyCopyright("Copyright ©  2008")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("8c41c4a2-c1b0-4a50-b7a2-69c471bf3e84")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sacha Barber
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)
 
- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence
 
Both of these at Sussex University UK.
 
Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog

You may also be interested in...

| Advertise | Privacy | Mobile
Web04 | 2.8.140922.1 | Last Updated 10 Aug 2008
Article Copyright 2008 by Sacha Barber
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid