CanFestival-3.vc9.vcproj
author Robert Lehmann <robert.lehmann@sitec-systems.de>
Tue, 28 Jul 2015 16:36:55 +0200
changeset 793 72e9e1064432
parent 701 9e4ccb3cab96
child 801 32d146b64a35
permissions -rw-r--r--
timers_unix: Fix termination problem of WaitReceiveTaskEnd

The function pthread_kill sends the Signal thread and to the own process.
If you use this construct than the application which calls uses the
canfestival api will terminate at the call of canClose. To avoid that
use pthread_cancel instead of pthread_kill. To use the pthread_cancel call
you need to set the cancel ability in the thread function. That means
you need to call pthread_setcancelstate and pthread_setcanceltype.
For the termination of the thread at any time it is important to set the
cancel type to PTHREAD_CANCEL_ASYNCHRONOUS.
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="9,00"
	Name="CanFestival-3"
	ProjectGUID="{50EF2507-9B87-4525-8B19-80EB42E67079}"
	RootNamespace="CanFestival-3"
	Keyword="Win32Proj"
	TargetFrameworkVersion="131072"
	>
	<Platforms>
		<Platform
			Name="Win32"
		/>
	</Platforms>
	<ToolFiles>
	</ToolFiles>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory="Debug"
			IntermediateDirectory="Debug"
			ConfigurationType="2"
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
			CharacterSet="2"
			>
			<Tool
				Name="VCPreBuildEventTool"
			/>
			<Tool
				Name="VCCustomBuildTool"
			/>
			<Tool
				Name="VCXMLDataGeneratorTool"
			/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"
			/>
			<Tool
				Name="VCMIDLTool"
			/>
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				AdditionalIncludeDirectories="./include;./include/win32"
				PreprocessorDefinitions="WIN32;_DEBUG;_DEBUG;DEBUG_WAR_CONSOLE_ON;DEBUG_ERR_CONSOLE_ON;_CRT_SECURE_NO_DEPRECATE;_WIN32_WINNT=0x0400;EMCY_MAX_ERRORS=8"
				MinimalRebuild="true"
				BasicRuntimeChecks="3"
				RuntimeLibrary="3"
				UsePrecompiledHeader="0"
				ProgramDataBaseFileName="$(IntDir)/CanFestival-3.pdb"
				WarningLevel="3"
				Detect64BitPortabilityProblems="false"
				DebugInformationFormat="4"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				ModuleDefinitionFile="./src/win32/CanFestival-3.def"
				GenerateDebugInformation="true"
				EnableCOMDATFolding="1"
				OptimizeForWindows98="0"
				RandomizedBaseAddress="1"
				DataExecutionPrevention="0"
			/>
			<Tool
				Name="VCALinkTool"
			/>
			<Tool
				Name="VCManifestTool"
			/>
			<Tool
				Name="VCXDCMakeTool"
			/>
			<Tool
				Name="VCBscMakeTool"
			/>
			<Tool
				Name="VCFxCopTool"
			/>
			<Tool
				Name="VCAppVerifierTool"
			/>
			<Tool
				Name="VCPostBuildEventTool"
			/>
		</Configuration>
		<Configuration
			Name="Release|Win32"
			OutputDirectory="Release"
			IntermediateDirectory="Release"
			ConfigurationType="2"
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
			CharacterSet="2"
			>
			<Tool
				Name="VCPreBuildEventTool"
			/>
			<Tool
				Name="VCCustomBuildTool"
			/>
			<Tool
				Name="VCXMLDataGeneratorTool"
			/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"
			/>
			<Tool
				Name="VCMIDLTool"
			/>
			<Tool
				Name="VCCLCompilerTool"
				AdditionalIncludeDirectories="./include;./include/win32"
				PreprocessorDefinitions="WIN32;NDEBUG"
				RuntimeLibrary="2"
				UsePrecompiledHeader="0"
				WarningLevel="3"
				Detect64BitPortabilityProblems="false"
				DebugInformationFormat="3"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				ModuleDefinitionFile="./src/win32/CanFestival-3.def"
				OptimizeForWindows98="0"
				RandomizedBaseAddress="1"
				DataExecutionPrevention="0"
			/>
			<Tool
				Name="VCALinkTool"
			/>
			<Tool
				Name="VCManifestTool"
			/>
			<Tool
				Name="VCXDCMakeTool"
			/>
			<Tool
				Name="VCBscMakeTool"
			/>
			<Tool
				Name="VCFxCopTool"
			/>
			<Tool
				Name="VCAppVerifierTool"
			/>
			<Tool
				Name="VCPostBuildEventTool"
			/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
			>
			<File
				RelativePath=".\src\dcf.c"
				>
			</File>
			<File
				RelativePath=".\src\emcy.c"
				>
			</File>
			<File
				RelativePath=".\src\lifegrd.c"
				>
			</File>
			<File
				RelativePath=".\src\lss.c"
				>
			</File>
			<File
				RelativePath=".\src\nmtMaster.c"
				>
			</File>
			<File
				RelativePath=".\src\nmtSlave.c"
				>
			</File>
			<File
				RelativePath=".\src\objacces.c"
				>
			</File>
			<File
				RelativePath=".\src\pdo.c"
				>
			</File>
			<File
				RelativePath=".\src\sdo.c"
				>
			</File>
			<File
				RelativePath=".\src\states.c"
				>
			</File>
			<File
				RelativePath=".\src\sync.c"
				>
			</File>
			<File
				RelativePath=".\src\timer.c"
				>
			</File>
			<Filter
				Name="win32"
				>
				<File
					RelativePath=".\drivers\timers_win32\timers_win32.c"
					>
				</File>
				<File
					RelativePath=".\drivers\win32\win32.c"
					>
				</File>
			</Filter>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc;xsd"
			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
			>
			<File
				RelativePath=".\include\can.h"
				>
			</File>
			<File
				RelativePath=".\include\can_driver.h"
				>
			</File>
			<File
				RelativePath=".\include\data.h"
				>
			</File>
			<File
				RelativePath=".\include\dcf.h"
				>
			</File>
			<File
				RelativePath=".\include\def.h"
				>
			</File>
			<File
				RelativePath=".\include\lifegrd.h"
				>
			</File>
			<File
				RelativePath=".\include\lss.h"
				>
			</File>
			<File
				RelativePath=".\include\nmtMaster.h"
				>
			</File>
			<File
				RelativePath=".\include\nmtSlave.h"
				>
			</File>
			<File
				RelativePath=".\include\objacces.h"
				>
			</File>
			<File
				RelativePath=".\include\objdictdef.h"
				>
			</File>
			<File
				RelativePath=".\include\pdo.h"
				>
			</File>
			<File
				RelativePath=".\include\sdo.h"
				>
			</File>
			<File
				RelativePath=".\include\states.h"
				>
			</File>
			<File
				RelativePath=".\include\sync.h"
				>
			</File>
			<File
				RelativePath=".\include\timer.h"
				>
			</File>
			<File
				RelativePath=".\include\timers_driver.h"
				>
			</File>
			<Filter
				Name="win32"
				>
				<File
					RelativePath=".\include\win32\applicfg.h"
					>
				</File>
				<File
					RelativePath=".\include\win32\canfestival.h"
					>
				</File>
				<File
					RelativePath=".\include\win32\timerscfg.h"
					>
				</File>
			</Filter>
		</Filter>
		<Filter
			Name="Resource Files"
			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
			>
		</Filter>
		<File
			RelativePath=".\src\win32\CanFestival-3.def"
			>
			<FileConfiguration
				Name="Debug|Win32"
				>
				<Tool
					Name="VCCustomBuildTool"
				/>
			</FileConfiguration>
		</File>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>