Article ID: 2635787 - Last Review: December 13, 2011 - Revision: 1.0

FIX: An update is available to remove unnecessary policy-checking code for the SetThreadPriority and the CeSetThreadPriority functions in Windows Embedded Compact 7

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

On This Page

Expand all | Collapse all

SUMMARY

This article describes an update to remove unnecessary policy checking code for the SetThreadPriority function and for the CeSetThreadPriority function in Windows Embedded Compact 7.

MORE INFORMATION

In earlier versions of Windows Embedded, you could set the priority of a thread to certain values in another thread by using the SetThreadPriority function and the CeSetThreadPriority function. However, in Windows Embedded Compact 7, you may be unable to do this until you install this update. In Windows Embedded Compact 7, there is incorrect policy checking that limits setting the priority on other threads.

After you apply this update, policy checking is removed, and the behavior is the same as in earlier versions.

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update November 2011. 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 (http://www.microsoft.com/download/en/search.aspx?q=Windows+Embedded+7+Monthly+Update)

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
Thread.h15,64625-Oct-201120:51Private\Winceos\Coreos\Nk\Inc
Thread.c63,04725-Oct-201120:51Private\Winceos\Coreos\Nk\Kernel
Nkmain.lib3,450,03825-Oct-201120:39Public\Common\Oak\Lib\Armv5\Checked
Nkprmain.lib3,507,60225-Oct-201120:39Public\Common\Oak\Lib\Armv5\Checked
Nkmain.lib3,830,98225-Oct-201120:38Public\Common\Oak\Lib\Armv5\Debug
Nkprmain.lib3,901,51225-Oct-201120:38Public\Common\Oak\Lib\Armv5\Debug
Nkmain.lib2,357,80625-Oct-201120:38Public\Common\Oak\Lib\Armv5\Retail
Nkprmain.lib2,416,05225-Oct-201120:38Public\Common\Oak\Lib\Armv5\Retail
Nkmain.lib3,449,96425-Oct-201120:41Public\Common\Oak\Lib\Armv6\Checked
Nkprmain.lib3,507,52825-Oct-201120:41Public\Common\Oak\Lib\Armv6\Checked
Nkmain.lib3,830,20625-Oct-201120:40Public\Common\Oak\Lib\Armv6\Debug
Nkprmain.lib3,900,73625-Oct-201120:40Public\Common\Oak\Lib\Armv6\Debug
Nkmain.lib2,357,76825-Oct-201120:40Public\Common\Oak\Lib\Armv6\Retail
Nkprmain.lib2,416,01425-Oct-201120:40Public\Common\Oak\Lib\Armv6\Retail
Nkmain.lib3,439,79825-Oct-201120:43Public\Common\Oak\Lib\Armv7\Checked
Nkprmain.lib3,497,14225-Oct-201120:43Public\Common\Oak\Lib\Armv7\Checked
Nkmain.lib3,820,13225-Oct-201120:42Public\Common\Oak\Lib\Armv7\Debug
Nkprmain.lib3,889,82625-Oct-201120:42Public\Common\Oak\Lib\Armv7\Debug
Nkmain.lib2,351,53825-Oct-201120:42Public\Common\Oak\Lib\Armv7\Retail
Nkprmain.lib2,409,77625-Oct-201120:42Public\Common\Oak\Lib\Armv7\Retail
Nkmain.lib3,160,98625-Oct-201120:45Public\Common\Oak\Lib\Mipsii\Checked
Nkprmain.lib3,207,17625-Oct-201120:45Public\Common\Oak\Lib\Mipsii\Checked
Nkmain.lib3,581,13025-Oct-201120:44Public\Common\Oak\Lib\Mipsii\Debug
Nkprmain.lib3,649,88025-Oct-201120:44Public\Common\Oak\Lib\Mipsii\Debug
Nkmain.lib2,128,85825-Oct-201120:44Public\Common\Oak\Lib\Mipsii\Retail
Nkprmain.lib2,175,96225-Oct-201120:44Public\Common\Oak\Lib\Mipsii\Retail
Nkmain.lib3,219,13825-Oct-201120:47Public\Common\Oak\Lib\Mipsii_fp\Checked
Nkprmain.lib3,265,41225-Oct-201120:47Public\Common\Oak\Lib\Mipsii_fp\Checked
Nkmain.lib3,657,89025-Oct-201120:46Public\Common\Oak\Lib\Mipsii_fp\Debug
Nkprmain.lib3,726,65625-Oct-201120:46Public\Common\Oak\Lib\Mipsii_fp\Debug
Nkmain.lib2,189,51825-Oct-201120:46Public\Common\Oak\Lib\Mipsii_fp\Retail
Nkprmain.lib2,236,55625-Oct-201120:46Public\Common\Oak\Lib\Mipsii_fp\Retail
Nkmain.lib2,916,36025-Oct-201120:49Public\Common\Oak\Lib\Sh4\Checked
Nkprmain.lib2,953,87025-Oct-201120:49Public\Common\Oak\Lib\Sh4\Checked
Nkmain.lib3,213,55625-Oct-201120:48Public\Common\Oak\Lib\Sh4\Debug
Nkprmain.lib3,263,53625-Oct-201120:48Public\Common\Oak\Lib\Sh4\Debug
Nkmain.lib2,006,70625-Oct-201120:48Public\Common\Oak\Lib\Sh4\Retail
Nkprmain.lib2,048,57625-Oct-201120:48Public\Common\Oak\Lib\Sh4\Retail
Nkmain.lib2,992,18425-Oct-201120:51Public\Common\Oak\Lib\X86\Checked
Nkprmain.lib3,034,26025-Oct-201120:51Public\Common\Oak\Lib\X86\Checked
Nkmain.lib3,128,54625-Oct-201120:50Public\Common\Oak\Lib\X86\Debug
Nkprmain.lib3,176,32025-Oct-201120:50Public\Common\Oak\Lib\X86\Debug
Nkmain.lib1,968,20025-Oct-201120:50Public\Common\Oak\Lib\X86\Retail
Nkprmain.lib2,010,60025-Oct-201120:50Public\Common\Oak\Lib\X86\Retail

REFERENCES

For more information about how to set the priority value for the specified thread, visit the following Microsoft Developer Network (MSDN) website:
SetThreadPriority (Windows Embedded Compact 7) (http://msdn.microsoft.com/en-us/library/ee488350.aspx)
For more information about how to set the priority for a real-time thread on a thread-by-thread basis, visit the following MSDN website:
CeSetThreadPriority (Windows Embedded Compact 7) (http://msdn.microsoft.com/en-us/library/ee488041.aspx)
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Windows Embedded Compact 7
Keywords: 
kbfix kbqfe kbpubtypekc kbexpertiseinter KB2635787