Click here to Skip to main content
15,881,816 members
Articles / Desktop Programming / ATL

CWorkerThread and IWorkerThreadClient – Looking Further

Rate me:
Please Sign up or sign in to vote.
4.67/5 (8 votes)
28 Jul 2006Ms-PL5 min read 41.5K   518   37  
A tutorial on how to use the ATL7 thread class CWorkerThread and its associated helper classes CRTThreadTraits, IWorkerThreadClient etc. It also presents a generic logging component which can be used in CPU intensive applications.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CWorkerThreadDemo", "CWorkerThreadDemo\CWorkerThreadDemo.vcproj", "{C70E6717-A601-4CF2-A3BA-61EC16686252}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LogMan", "LogMan\LogMan.vcproj", "{16218391-F00E-4545-90EB-B65AE98AF648}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LogManPS", "LogMan\LogManPS.vcproj", "{ED604FBC-9372-4444-8519-31CEF75AD59B}"
	ProjectSection(ProjectDependencies) = postProject
		{16218391-F00E-4545-90EB-B65AE98AF648} = {16218391-F00E-4545-90EB-B65AE98AF648}
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{C70E6717-A601-4CF2-A3BA-61EC16686252}.Debug|Win32.ActiveCfg = Debug|Win32
		{C70E6717-A601-4CF2-A3BA-61EC16686252}.Debug|Win32.Build.0 = Debug|Win32
		{C70E6717-A601-4CF2-A3BA-61EC16686252}.Release|Win32.ActiveCfg = Release|Win32
		{C70E6717-A601-4CF2-A3BA-61EC16686252}.Release|Win32.Build.0 = Release|Win32
		{16218391-F00E-4545-90EB-B65AE98AF648}.Debug|Win32.ActiveCfg = Debug|Win32
		{16218391-F00E-4545-90EB-B65AE98AF648}.Debug|Win32.Build.0 = Debug|Win32
		{16218391-F00E-4545-90EB-B65AE98AF648}.Release|Win32.ActiveCfg = Release|Win32
		{16218391-F00E-4545-90EB-B65AE98AF648}.Release|Win32.Build.0 = Release|Win32
		{ED604FBC-9372-4444-8519-31CEF75AD59B}.Debug|Win32.ActiveCfg = Debug|Win32
		{ED604FBC-9372-4444-8519-31CEF75AD59B}.Release|Win32.ActiveCfg = Release|Win32
	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, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions