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
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
File name |
File size |
Date |
Time |
Path |
---|---|---|---|---|
Thread.h |
15,646 |
25-Oct-2011 |
20:51 |
Private\Winceos\Coreos\Nk\Inc |
Thread.c |
63,047 |
25-Oct-2011 |
20:51 |
Private\Winceos\Coreos\Nk\Kernel |
Nkmain.lib |
3,450,038 |
25-Oct-2011 |
20:39 |
Public\Common\Oak\Lib\Armv5\Checked |
Nkprmain.lib |
3,507,602 |
25-Oct-2011 |
20:39 |
Public\Common\Oak\Lib\Armv5\Checked |
Nkmain.lib |
3,830,982 |
25-Oct-2011 |
20:38 |
Public\Common\Oak\Lib\Armv5\Debug |
Nkprmain.lib |
3,901,512 |
25-Oct-2011 |
20:38 |
Public\Common\Oak\Lib\Armv5\Debug |
Nkmain.lib |
2,357,806 |
25-Oct-2011 |
20:38 |
Public\Common\Oak\Lib\Armv5\Retail |
Nkprmain.lib |
2,416,052 |
25-Oct-2011 |
20:38 |
Public\Common\Oak\Lib\Armv5\Retail |
Nkmain.lib |
3,449,964 |
25-Oct-2011 |
20:41 |
Public\Common\Oak\Lib\Armv6\Checked |
Nkprmain.lib |
3,507,528 |
25-Oct-2011 |
20:41 |
Public\Common\Oak\Lib\Armv6\Checked |
Nkmain.lib |
3,830,206 |
25-Oct-2011 |
20:40 |
Public\Common\Oak\Lib\Armv6\Debug |
Nkprmain.lib |
3,900,736 |
25-Oct-2011 |
20:40 |
Public\Common\Oak\Lib\Armv6\Debug |
Nkmain.lib |
2,357,768 |
25-Oct-2011 |
20:40 |
Public\Common\Oak\Lib\Armv6\Retail |
Nkprmain.lib |
2,416,014 |
25-Oct-2011 |
20:40 |
Public\Common\Oak\Lib\Armv6\Retail |
Nkmain.lib |
3,439,798 |
25-Oct-2011 |
20:43 |
Public\Common\Oak\Lib\Armv7\Checked |
Nkprmain.lib |
3,497,142 |
25-Oct-2011 |
20:43 |
Public\Common\Oak\Lib\Armv7\Checked |
Nkmain.lib |
3,820,132 |
25-Oct-2011 |
20:42 |
Public\Common\Oak\Lib\Armv7\Debug |
Nkprmain.lib |
3,889,826 |
25-Oct-2011 |
20:42 |
Public\Common\Oak\Lib\Armv7\Debug |
Nkmain.lib |
2,351,538 |
25-Oct-2011 |
20:42 |
Public\Common\Oak\Lib\Armv7\Retail |
Nkprmain.lib |
2,409,776 |
25-Oct-2011 |
20:42 |
Public\Common\Oak\Lib\Armv7\Retail |
Nkmain.lib |
3,160,986 |
25-Oct-2011 |
20:45 |
Public\Common\Oak\Lib\Mipsii\Checked |
Nkprmain.lib |
3,207,176 |
25-Oct-2011 |
20:45 |
Public\Common\Oak\Lib\Mipsii\Checked |
Nkmain.lib |
3,581,130 |
25-Oct-2011 |
20:44 |
Public\Common\Oak\Lib\Mipsii\Debug |
Nkprmain.lib |
3,649,880 |
25-Oct-2011 |
20:44 |
Public\Common\Oak\Lib\Mipsii\Debug |
Nkmain.lib |
2,128,858 |
25-Oct-2011 |
20:44 |
Public\Common\Oak\Lib\Mipsii\Retail |
Nkprmain.lib |
2,175,962 |
25-Oct-2011 |
20:44 |
Public\Common\Oak\Lib\Mipsii\Retail |
Nkmain.lib |
3,219,138 |
25-Oct-2011 |
20:47 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
Nkprmain.lib |
3,265,412 |
25-Oct-2011 |
20:47 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
Nkmain.lib |
3,657,890 |
25-Oct-2011 |
20:46 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
Nkprmain.lib |
3,726,656 |
25-Oct-2011 |
20:46 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
Nkmain.lib |
2,189,518 |
25-Oct-2011 |
20:46 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
Nkprmain.lib |
2,236,556 |
25-Oct-2011 |
20:46 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
Nkmain.lib |
2,916,360 |
25-Oct-2011 |
20:49 |
Public\Common\Oak\Lib\Sh4\Checked |
Nkprmain.lib |
2,953,870 |
25-Oct-2011 |
20:49 |
Public\Common\Oak\Lib\Sh4\Checked |
Nkmain.lib |
3,213,556 |
25-Oct-2011 |
20:48 |
Public\Common\Oak\Lib\Sh4\Debug |
Nkprmain.lib |
3,263,536 |
25-Oct-2011 |
20:48 |
Public\Common\Oak\Lib\Sh4\Debug |
Nkmain.lib |
2,006,706 |
25-Oct-2011 |
20:48 |
Public\Common\Oak\Lib\Sh4\Retail |
Nkprmain.lib |
2,048,576 |
25-Oct-2011 |
20:48 |
Public\Common\Oak\Lib\Sh4\Retail |
Nkmain.lib |
2,992,184 |
25-Oct-2011 |
20:51 |
Public\Common\Oak\Lib\X86\Checked |
Nkprmain.lib |
3,034,260 |
25-Oct-2011 |
20:51 |
Public\Common\Oak\Lib\X86\Checked |
Nkmain.lib |
3,128,546 |
25-Oct-2011 |
20:50 |
Public\Common\Oak\Lib\X86\Debug |
Nkprmain.lib |
3,176,320 |
25-Oct-2011 |
20:50 |
Public\Common\Oak\Lib\X86\Debug |
Nkmain.lib |
1,968,200 |
25-Oct-2011 |
20:50 |
Public\Common\Oak\Lib\X86\Retail |
Nkprmain.lib |
2,010,600 |
25-Oct-2011 |
20:50 |
Public\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)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)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