FIX: An exception may occur when you create a new thread on a Windows Embedded Compact 7 operating system design in which you enabled SMP

Article ID: 2740479 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You enable symmetric multiprocessing (SMP) in a Windows Embedded Compact 7 operating system design.

    Note To do this, you set the IMG environment variable IMGMPENABLE=1. Or, on the Build Options page under Configuration Properties, you set the Enable SMP support in the kernel option to Yes in your operating system design.

  • You call the CreateThread function to create a new thread.

In this scenario, an exception may occur.

Note This problem typically occurs on the SH4 platform.

Cause

This problem may occur because the thread may move from one core processor to another core processor. When this occurs, the cache of the core processor that calls the OEMCacheRangeFlush function may not be flushed.

Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update August 2012. In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 monthly update is available for download from the following Microsoft Download Center website: 
Windows Embedded Compact 7 Updates

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Files that are included in this update package
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Nkmain.lib3,551,58201-Aug-201219:34public\common\oak\lib\armv5\checked
Nkprmain.lib3,609,19601-Aug-201219:34public\common\oak\lib\armv5\checked
Nkmain.lib3,942,26801-Aug-201219:34public\common\oak\lib\armv5\debug
Nkprmain.lib4,012,87601-Aug-201219:34public\common\oak\lib\armv5\debug
Nkmain.lib2,428,64201-Aug-201219:34public\common\oak\lib\armv5\retail
Nkprmain.lib2,486,93401-Aug-201219:34public\common\oak\lib\armv5\retail
Nkmain.lib3,551,51601-Aug-201219:36public\common\oak\lib\armv6\checked
Nkprmain.lib3,609,13001-Aug-201219:36public\common\oak\lib\armv6\checked
Nkmain.lib3,941,49601-Aug-201219:36public\common\oak\lib\armv6\debug
Nkprmain.lib4,012,10401-Aug-201219:36public\common\oak\lib\armv6\debug
Nkmain.lib2,428,61201-Aug-201219:36public\common\oak\lib\armv6\retail
Nkprmain.lib2,486,90401-Aug-201219:36public\common\oak\lib\armv6\retail
Nkmain.lib3,541,12001-Aug-201219:38public\common\oak\lib\armv7\checked
Nkprmain.lib3,598,51401-Aug-201219:38public\common\oak\lib\armv7\checked
Nkmain.lib3,931,13801-Aug-201219:38public\common\oak\lib\armv7\debug
Nkprmain.lib4,000,91001-Aug-201219:38public\common\oak\lib\armv7\debug
Nkmain.lib2,422,09601-Aug-201219:38public\common\oak\lib\armv7\retail
Nkprmain.lib2,480,38001-Aug-201219:38public\common\oak\lib\armv7\retail
Nkmain.lib3,255,07801-Aug-201219:40public\common\oak\lib\mipsii\checked
Nkprmain.lib3,301,33801-Aug-201219:40public\common\oak\lib\mipsii\checked
Nkmain.lib3,688,41001-Aug-201219:40public\common\oak\lib\mipsii\debug
Nkprmain.lib3,757,22401-Aug-201219:40public\common\oak\lib\mipsii\debug
Nkmain.lib2,193,71001-Aug-201219:39public\common\oak\lib\mipsii\retail
Nkprmain.lib2,240,87601-Aug-201219:39public\common\oak\lib\mipsii\retail
Nkmain.lib3,313,35601-Aug-201219:42public\common\oak\lib\mipsii_fp\checked
Nkprmain.lib3,359,66801-Aug-201219:42public\common\oak\lib\mipsii_fp\checked
Nkmain.lib3,765,26401-Aug-201219:42public\common\oak\lib\mipsii_fp\debug
Nkprmain.lib3,834,11801-Aug-201219:42public\common\oak\lib\mipsii_fp\debug
Nkmain.lib2,254,49401-Aug-201219:42public\common\oak\lib\mipsii_fp\retail
Nkprmain.lib2,301,60201-Aug-201219:42public\common\oak\lib\mipsii_fp\retail
Nkmain.lib3,001,64401-Aug-201219:44public\common\oak\lib\sh4\checked
Nkprmain.lib3,039,19201-Aug-201219:44public\common\oak\lib\sh4\checked
Nkmain.lib3,307,64201-Aug-201219:44public\common\oak\lib\sh4\debug
Nkprmain.lib3,357,68401-Aug-201219:44public\common\oak\lib\sh4\debug
Nkmain.lib2,066,00201-Aug-201219:43public\common\oak\lib\sh4\retail
Nkprmain.lib2,107,89401-Aug-201219:43public\common\oak\lib\sh4\retail
Nkmain.lib3,079,02401-Aug-201219:46public\common\oak\lib\x86\checked
Nkprmain.lib3,121,15001-Aug-201219:46public\common\oak\lib\x86\checked
Nkmain.lib3,219,26801-Aug-201219:45public\common\oak\lib\x86\debug
Nkprmain.lib3,267,13201-Aug-201219:45public\common\oak\lib\x86\debug
Nkmain.lib2,026,76401-Aug-201219:45public\common\oak\lib\x86\retail
Nkprmain.lib2,069,21001-Aug-201219:45public\common\oak\lib\x86\retail

References

For more information about SMP, go to the following Microsoft Developer Network (MSDN) website:
SMP Reference (Windows Embedded Compact 7)
For more information about the CreateThread function, go to the following MSDN website:
CreateThread (Windows Embedded Compact 7)
For more information about the OEMCacheRangeFlush function, go to the following MSDN website:
OEMCacheRangeFlush (Windows Embedded Compact 7)
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 2740479 - Last Review: September 11, 2012 - Revision: 1.0
Applies to
  • Windows Embedded Compact 7
Keywords: 
kbqfe kbfix kbpubtypekc kbexpertiseinter kbsurveynew KB2740479

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com