examples/win32test/win32test.vc10.vcxproj
author Robert Lehmann <robert.lehmann@sitec-systems.de>
Tue, 28 Jul 2015 16:36:55 +0200
changeset 793 72e9e1064432
parent 731 c4793e10e04f
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>win32test</ProjectName>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    15
    <ProjectGuid>{BD8B1FE1-89CD-4F89-8275-0F553FA71059}</ProjectGuid>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    16
    <Keyword>Win32Proj</Keyword>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    17
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    18
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    19
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    20
    <ConfigurationType>Application</ConfigurationType>
725
54b0c6de4e15 Win32 VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 709
diff changeset
    21
    <CharacterSet>Unicode</CharacterSet>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    22
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    23
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    24
    <ConfigurationType>Application</ConfigurationType>
731
c4793e10e04f VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 725
diff changeset
    25
    <CharacterSet>MultiByte</CharacterSet>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    26
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    27
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    28
  <ImportGroup Label="ExtensionSettings">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    29
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    30
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    31
    <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
    32
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    33
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    34
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    35
    <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
    36
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    37
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    38
  <PropertyGroup Label="UserMacros" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    39
  <PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    40
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    41
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../Debug\</OutDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    42
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    43
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
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
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    47
  </PropertyGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    48
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    49
    <ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    50
      <Optimization>Disabled</Optimization>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    51
      <AdditionalIncludeDirectories>../../include;../../include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    52
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    53
      <MinimalRebuild>true</MinimalRebuild>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    54
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    55
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    56
      <PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    57
      </PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    58
      <WarningLevel>Level3</WarningLevel>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    59
      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
725
54b0c6de4e15 Win32 VS2010 project files:
Christian Taedcke <hacking@taedcke.com>
parents: 709
diff changeset
    60
      <ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
709
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    61
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    62
    <Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    63
      <OutputFile>$(OutDir)win32test.exe</OutputFile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    64
      <AdditionalLibraryDirectories>../../Debug UNICODE;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    65
      <GenerateDebugInformation>true</GenerateDebugInformation>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    66
      <ProgramDatabaseFile>$(OutDir)win32test.pdb</ProgramDatabaseFile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    67
      <SubSystem>Console</SubSystem>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    68
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    69
      <DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    70
      </DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    71
      <TargetMachine>MachineX86</TargetMachine>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    72
    </Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    73
  </ItemDefinitionGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    74
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    75
    <ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    76
      <AdditionalIncludeDirectories>../../include;../../include/win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    77
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    78
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    79
      <PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    80
      </PrecompiledHeader>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    81
      <WarningLevel>Level3</WarningLevel>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    82
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    83
    </ClCompile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    84
    <Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    85
      <OutputFile>$(OutDir)win32test.exe</OutputFile>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    86
      <AdditionalLibraryDirectories>../../Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    87
      <GenerateDebugInformation>true</GenerateDebugInformation>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    88
      <SubSystem>Console</SubSystem>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    89
      <OptimizeReferences>true</OptimizeReferences>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    90
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    91
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    92
      <DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    93
      </DataExecutionPrevention>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    94
      <TargetMachine>MachineX86</TargetMachine>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    95
    </Link>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    96
  </ItemDefinitionGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    97
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    98
    <ClCompile Include="main.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
    99
    <ClCompile Include="win32test.c" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   100
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   101
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   102
    <ClInclude Include="win32test.h" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   103
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   104
  <ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   105
    <ProjectReference Include="..\..\CanFestival-3.vc10.vcxproj">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   106
      <Project>{50ef2507-9b87-4525-8b19-80eb42e67079}</Project>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   107
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   108
    </ProjectReference>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   109
  </ItemGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   110
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   111
  <ImportGroup Label="ExtensionTargets">
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   112
  </ImportGroup>
Christian Taedcke <hacking@taedcke.com>
parents:
diff changeset
   113
</Project>