CanFestival-3.vc10.vcxproj
author Robert Lehmann <robert.lehmann@sitec-systems.de>
Tue, 28 Jul 2015 16:36:55 +0200
changeset 793 72e9e1064432
parent 731 c4793e10e04f
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.
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     2
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     3
  <ItemGroup Label="ProjectConfigurations">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     4
    <ProjectConfiguration Include="Debug|Win32">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     5
      <Configuration>Debug</Configuration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     6
      <Platform>Win32</Platform>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     7
    </ProjectConfiguration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     8
    <ProjectConfiguration Include="Release|Win32">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
     9
      <Configuration>Release</Configuration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    10
      <Platform>Win32</Platform>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    11
    </ProjectConfiguration>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    12
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    13
  <PropertyGroup Label="Globals">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    14
    <ProjectName>CanFestival-3</ProjectName>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    15
    <ProjectGuid>{50EF2507-9B87-4525-8B19-80EB42E67079}</ProjectGuid>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    16
    <RootNamespace>CanFestival-3</RootNamespace>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    17
    <Keyword>Win32Proj</Keyword>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    18
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    19
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    20
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    21
    <ConfigurationType>DynamicLibrary</ConfigurationType>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    22
    <CharacterSet>MultiByte</CharacterSet>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    23
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    24
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    25
    <ConfigurationType>DynamicLibrary</ConfigurationType>
731
c4793e10e04f VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 725
diff changeset
    26
    <CharacterSet>MultiByte</CharacterSet>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    27
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    28
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    29
  <ImportGroup Label="ExtensionSettings">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    30
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    31
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    32
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    33
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    34
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    35
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    36
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    37
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    38
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    39
  <PropertyGroup Label="UserMacros" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    40
  <PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    41
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    42
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    43
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    44
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    45
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    46
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    47
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    48
    <ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    49
      <Optimization>Disabled</Optimization>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    50
      <AdditionalIncludeDirectories>./include;./include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    51
      <PreprocessorDefinitions>WIN32;_DEBUG;_DEBUG;DEBUG_WAR_CONSOLE_ON;DEBUG_ERR_CONSOLE_ON;_CRT_SECURE_NO_DEPRECATE;_WIN32_WINNT=0x0400;EMCY_MAX_ERRORS=8;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    52
      <MinimalRebuild>true</MinimalRebuild>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    53
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    54
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    55
      <PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    56
      </PrecompiledHeader>
725
54b0c6de4e15 Win32 VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 721
diff changeset
    57
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    58
      <WarningLevel>Level3</WarningLevel>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    59
      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    60
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    61
    <Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    62
      <ModuleDefinitionFile>./src/win32/CanFestival-3.def</ModuleDefinitionFile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    63
      <GenerateDebugInformation>true</GenerateDebugInformation>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    64
      <EnableCOMDATFolding>false</EnableCOMDATFolding>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    65
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    66
      <DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    67
      </DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    68
    </Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    69
  </ItemDefinitionGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    70
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    71
    <ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    72
      <AdditionalIncludeDirectories>./include;./include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    73
      <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    74
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    75
      <PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    76
      </PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    77
      <WarningLevel>Level3</WarningLevel>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    78
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    79
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    80
    <Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    81
      <ModuleDefinitionFile>./src/win32/CanFestival-3.def</ModuleDefinitionFile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    82
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    83
      <DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    84
      </DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    85
    </Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    86
  </ItemDefinitionGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    87
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    88
    <ClCompile Include="src\dcf.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    89
    <ClCompile Include="src\emcy.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    90
    <ClCompile Include="src\lifegrd.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    91
    <ClCompile Include="src\lss.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    92
    <ClCompile Include="src\nmtMaster.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    93
    <ClCompile Include="src\nmtSlave.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    94
    <ClCompile Include="src\objacces.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    95
    <ClCompile Include="src\pdo.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    96
    <ClCompile Include="src\sdo.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    97
    <ClCompile Include="src\states.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    98
    <ClCompile Include="src\sync.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    99
    <ClCompile Include="src\timer.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   100
    <ClCompile Include="drivers\timers_win32\timers_win32.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   101
    <ClCompile Include="drivers\win32\win32.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   102
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   103
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   104
    <ClInclude Include="include\can.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   105
    <ClInclude Include="include\can_driver.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   106
    <ClInclude Include="include\data.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   107
    <ClInclude Include="include\dcf.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   108
    <ClInclude Include="include\def.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   109
    <ClInclude Include="include\lifegrd.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   110
    <ClInclude Include="include\lss.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   111
    <ClInclude Include="include\nmtMaster.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   112
    <ClInclude Include="include\nmtSlave.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   113
    <ClInclude Include="include\objacces.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   114
    <ClInclude Include="include\objdictdef.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   115
    <ClInclude Include="include\pdo.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   116
    <ClInclude Include="include\sdo.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   117
    <ClInclude Include="include\states.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   118
    <ClInclude Include="include\sync.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   119
    <ClInclude Include="include\timer.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   120
    <ClInclude Include="include\timers_driver.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   121
    <ClInclude Include="include\win32\applicfg.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   122
    <ClInclude Include="include\win32\canfestival.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   123
    <ClInclude Include="include\win32\timerscfg.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   124
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   125
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   126
    <CustomBuildStep Include="src\win32\CanFestival-3.def" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   127
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   128
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   129
  <ImportGroup Label="ExtensionTargets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   130
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   131
</Project>