Article ID: 2645005 - Last Review: January 10, 2012 - Revision: 1.0

FIX: There are too many context switches when you run Message Queuing samples for Windows Embedded CE 6.0 R3

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

SYMPTOMS

You implement Microsoft Message Queuing (also known as MSMQ) for Windows Embedded CE 6.0 R3. For example, you run any of the Message Queuing samples. In this scenario, you may find that there are too many context switches when you use the Kernel Tracker tool.

CAUSE

This issue occurs because of a synchronization problem when multiple threads access the message queues.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Monthly Update December 2011. In the "File information" section, the package file name contains the product version, the date, the Knowledge Base article number, and the processor type. The package file name format is as follows:
Product version-yymmdd-kbnnnnnn-processor type
For example, Wincepb60-110128-kb2492159-armv4i.msi is the ARMV4i Windows Embedded CE 6.0 Platform Builder fix that is documented in KB article 2492159 and that is contained in the January 2011 monthly update.

To resolve this problem immediately, download this Windows Embedded CE 6.0 Monthly Update from the following Microsoft website.

Microsoft Download Center
Windows Embedded CE 6.0 (http://www.microsoft.com/download/en/search.aspx?q=Windows%20Embedded%20CE%206.0%20Monthly%20Update)

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.
Installer files
Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb60-111215-kb2645005-mipsiv.msi532,48015-Dec-201122:44
Wincepb60-111215-kb2645005-mipsiv_fp.msi532,48015-Dec-201122:44
Wincepb60-111215-kb2645005-sh4.msi528,38415-Dec-201122:44
Wincepb60-111215-kb2645005-x86.msi528,38415-Dec-201122:44
Wincepb60-111215-kb2645005-armv4i.msi532,48015-Dec-201122:44
Wincepb60-111215-kb2645005-mipsii.msi532,48015-Dec-201122:44
Wincepb60-111215-kb2645005-mipsii_fp.msi532,48015-Dec-201122:44
Files that are included in this update package
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2645005.htm7,83915-Dec-201122:23111215_kb2645005
Msgqueue.c30,38613-Dec-201118:59Private\Winceos\Coreos\Nk\Msgqueue
Nkmsgq.lib64,40213-Dec-201118:59Public\Common\Oak\Lib\Armv4i\Debug
Nkmsgq.lib45,12013-Dec-201118:59Public\Common\Oak\Lib\Armv4i\Retail
Nkmsgq.lib60,28613-Dec-201118:59Public\Common\Oak\Lib\Mipsii\Debug
Nkmsgq.lib45,69013-Dec-201118:59Public\Common\Oak\Lib\Mipsii\Retail
Nkmsgq.lib60,29013-Dec-201118:59Public\Common\Oak\Lib\Mipsii_fp\Debug
Nkmsgq.lib45,70013-Dec-201118:59Public\Common\Oak\Lib\Mipsii_fp\Retail
Nkmsgq.lib61,06413-Dec-201118:59Public\Common\Oak\Lib\Mipsiv\Debug
Nkmsgq.lib46,70213-Dec-201118:59Public\Common\Oak\Lib\Mipsiv\Retail
Nkmsgq.lib61,06813-Dec-201118:59Public\Common\Oak\Lib\Mipsiv_fp\Debug
Nkmsgq.lib46,71213-Dec-201118:59Public\Common\Oak\Lib\Mipsiv_fp\Retail
Nkmsgq.lib52,31813-Dec-201118:59Public\Common\Oak\Lib\Sh4\Debug
Nkmsgq.lib40,81413-Dec-201118:59Public\Common\Oak\Lib\Sh4\Retail
Nkmsgq.lib50,82013-Dec-201118:59Public\Common\Oak\Lib\X86\Debug
Nkmsgq.lib38,72813-Dec-201118:59Public\Common\Oak\Lib\X86\Retail

REFERENCES

For more information about the Kernel Tracker tool, visit the following Microsoft Developer Network (MSDN) website:
Kernel Tracker (http://msdn.microsoft.com/en-us/library/ee479791(v=winembedded.60).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 CE 6.0 R3
Keywords: 
kbqfe kbfix kbpubtypekc kbexpertiseinter KB2645005