Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Switching threads

, 16 Sep 2007
How to switch the thread that a routine is running on.
threadswitch.zip
ThreadSwitch
Release
ThreadSwitch.exe
small.ico
ThreadSwitch.ico
tswitch.zip
========================================================================
    WIN32 APPLICATION : ThreadSwitch Project Overview
========================================================================

AppWizard has created this ThreadSwitch application for you.  

This file contains a summary of what you will find in each of the files that
make up your ThreadSwitch application.


ThreadSwitch.vcproj
    This is the main project file for VC++ projects generated using an Application Wizard. 
    It contains information about the version of Visual C++ that generated the file, and 
    information about the platforms, configurations, and project features selected with the
    Application Wizard.

ThreadSwitch.cpp
    This is the main application source file.

/////////////////////////////////////////////////////////////////////////////
AppWizard has created the following resources:

ThreadSwitch.rc
    This is a listing of all of the Microsoft Windows resources that the
    program uses.  It includes the icons, bitmaps, and cursors that are stored
    in the RES subdirectory.  This file can be directly edited in Microsoft
    Visual C++.

Resource.h
    This is the standard header file, which defines new resource IDs.
    Microsoft Visual C++ reads and updates this file.

ThreadSwitch.ico
    This is an icon file, which is used as the application's icon (32x32).
    This icon is included by the main resource file ThreadSwitch.rc.

small.ico
    This is an icon file, which contains a smaller version (16x16)
    of the application's icon. This icon is included by the main resource
    file ThreadSwitch.rc.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named ThreadSwitch.pch and a precompiled types file named StdAfx.obj.

/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

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 Code Project Open License (CPOL)

About the Author

Rajasekharan Vengalil
Microsoft
India India
No Biography provided
Follow on   Twitter   Google+

| Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 16 Sep 2007
Article Copyright 2007 by Rajasekharan Vengalil
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid