Microsoft KB Archive/290096

= INFO: SchedLog Cannot Provide Name for Static Thread Function =

Article ID: 290096

Article Last Modified on 4/14/2004

-

APPLIES TO


 * Microsoft Windows CE 3.0 for the Handheld PC
 * Microsoft Windows CE 2.12 for the Handheld PC
 * Microsoft Windows CE 2.11 for the Handheld PC
 * Microsoft Windows CE 2.0 for the Handheld PC
 * Microsoft Windows CE 1.0

-



This article was previously published under Q290096



SUMMARY
SchedLog reports an incorrect thread function name when the thread's initial function is declared static.



MORE INFORMATION
The SchedLog utility provides thread names by returning the name of the function that originally started the thread (that is, the function name used as lpStartAddress in the CreateThread function call).

If the function that originally started the thread is declared to be static, SchedLog is unable to retrieve the correct name for that thread. Static functions are those limited in scope to the source file in which they are defined. In place of the proper name for the thread, the name of a nearby non-static function name displays.

Keywords: kbinfo KB290096

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.