Click here to Skip to main content
15,892,005 members
Articles / Programming Languages / C#

PriorityLock - Release locks by priority

Rate me:
Please Sign up or sign in to vote.
3.77/5 (4 votes)
30 Nov 20064 min read 47.2K   467   15  
A Monitor like class that releases locks by priority.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PriorityLockTest", "PriorityLockTest\PriorityLockTest.csproj", "{79AB3A17-6834-4015-9883-D5CE1A2CC31E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PriorityLock", "PriorityLock\PriorityLock.csproj", "{13AB923F-15AC-42D2-8ACE-1509280532CD}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{79AB3A17-6834-4015-9883-D5CE1A2CC31E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{79AB3A17-6834-4015-9883-D5CE1A2CC31E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{79AB3A17-6834-4015-9883-D5CE1A2CC31E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{79AB3A17-6834-4015-9883-D5CE1A2CC31E}.Release|Any CPU.Build.0 = Release|Any CPU
		{13AB923F-15AC-42D2-8ACE-1509280532CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{13AB923F-15AC-42D2-8ACE-1509280532CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{13AB923F-15AC-42D2-8ACE-1509280532CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{13AB923F-15AC-42D2-8ACE-1509280532CD}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer Atmel R&D India Pvt. Ltd.
India India
I'm a 27 yrs old developer working with Atmel R&D India Pvt. Ltd., Chennai. I'm currently working in C# and C++, but I've done some Java programming as well. I was a Microsoft MVP in Visual C# from 2007 to 2009.

You can read My Blog here. I've also done some open source software - please visit my website to know more.

Comments and Discussions