Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Device Management API calls from a high-priority thread take a long time in Windows Embedded Compact 7


View products that this article applies to.

Symptoms

Assume that a primary device that is running Windows Embedded Compact 7 hosts a device driver, such as a COM port, a USB port, a multimedia device, or a Telnet virtual device. If a user application calls any Device Management API at the same time that some other process is closing a device driver, the API call takes much longer than expected to finish.

For example, the user application sends a DeviceIoControl command to a CAN bus at the same time that telnetd is closing TEL0. In this situation, the API call in the user application may be blocked until telnetd is finished closing the device driver.

↑ Back to the top


Cause

This problem occurs because of a synchronization lock that is hosted in the device manager. Note that you cannot resolve this problem by assigning a higher priority to the user application. The kernel tracker log indicates that the low-priority thread was boosted by design to speed up the unlocking process. However, the low-priority thread was also blocked by some other thread.

↑ Back to the top


More Information

Software update information

An update is available to resolve this issue.

Download information

The Windows Embedded Compact 7 Monthly Update (November 2014) is now available from Microsoft. To download this Windows Embedded Compact 7 monthly update, see Windows Embedded Compact 7 updates in the Microsoft Download Center website:

The kind of processor that each file applies to is visible in the name of each file in the "File information" section.

Prerequisites

To install this update, all previously issued updates for this product must be 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 hotfix package
File nameFile sizeDateTimePath
Devcore.lib736,91006-Nov-201410:17Public\Common\Oak\Lib\X86\Retail
Devcore.lib932,21206-Nov-201410:17Public\Common\Oak\Lib\X86\Debug
Devcore.lib912,13806-Nov-201410:17Public\Common\Oak\Lib\X86\Checked
Devcore.lib871,52206-Nov-201410:18Public\Common\Oak\Lib\Armv5\Retail
Devcore.lib1,153,09606-Nov-201410:17Public\Common\Oak\Lib\Armv5\Debug
Devcore.lib1,079,36806-Nov-201410:18Public\Common\Oak\Lib\Armv5\Checked
Devcore.lib871,63406-Nov-201410:19Public\Common\Oak\Lib\Armv6\Retail
Devcore.lib1,153,16606-Nov-201410:17Public\Common\Oak\Lib\Armv6\Debug
Devcore.lib1,079,47806-Nov-201410:18Public\Common\Oak\Lib\Armv6\Checked
Devcore.lib868,58606-Nov-201410:19Public\Common\Oak\Lib\Armv7\Retail
Devcore.lib1,149,68006-Nov-201410:17Public\Common\Oak\Lib\Armv7\Debug
Devcore.lib1,073,94406-Nov-201410:18Public\Common\Oak\Lib\Armv7\Checked
Devcore.lib867,27406-Nov-201410:18Public\Common\Oak\Lib\Mipsii\Retail
Devcore.lib1,124,39806-Nov-201410:17Public\Common\Oak\Lib\Mipsii\Debug
Devcore.lib1,052,05006-Nov-201410:18Public\Common\Oak\Lib\Mipsii\Checked
Devcore.lib868,10006-Nov-201410:18Public\Common\Oak\Lib\Mipsii_fp\Retail
Devcore.lib1,125,22206-Nov-201410:17Public\Common\Oak\Lib\Mipsii_fp\Debug
Devcore.lib1,052,87006-Nov-201410:18Public\Common\Oak\Lib\Mipsii_fp\Checked
Devcore.lib797,10406-Nov-201410:18Public\Common\Oak\Lib\Sh4\Retail
Devcore.lib1,006,52606-Nov-201410:18Public\Common\Oak\Lib\Sh4\Debug
Devcore.lib934,48806-Nov-201410:18Public\Common\Oak\Lib\Sh4\Checked
Devfile.c25,05530-Oct-201417:46Private\Winceos\Coreos\Device\Devcore


↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

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

↑ Back to the top


Keywords: kbfix, kbsurveynew, kbexpertiseadvanced, atdownload, kb

↑ Back to the top

Article Info
Article ID : 2964566
Revision : 1
Created on : 1/7/2017
Published on : 12/10/2014
Exists online : False
Views : 168