[pywin32-bugs] [ pywin32-Bugs-1601247 ] win32pdh.EnumObjectItems white lie
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2006-12-07 03:20:17
|
Bugs item #1601247, was opened at 2006-11-22 08:44 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1601247&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: ollie oldham (ooldham) Assigned to: Nobody/Anonymous (nobody) Summary: win32pdh.EnumObjectItems white lie Initial Comment: win32pdh.EnumObjectItems appears to lie sometimes. If EnumObjectItems is called from the "main" thread - no problem appears. However if EnumObjectItems is called from another thread, it may lie as to the existence of a process name. How to reproduce: start attached script (xxx.py). Use the menu option of: g. This will print a current list of processes. Now start another application of some kind, different than any process name that was in the above list. For instance, notepad or some other editor. Now hit g again. The process name will NOT appear. Now hit x. start xxx.py again. Now hit g. The process name will now appear... Am I missing something here? Note g uses a thread, f uses main context. I have this problem on win2K and win2K3. I'm currently using Python 2.4b1 and win32 package= pywin32-203.win32-py2.4.exe Thanks. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2006-12-06 19:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2006-11-22 14:20 Message: Logged In: YES user_id=14198 Originator: NO I'm afraid I don't know, but I am fairly confident that any such problems would not be with the python bindings, but would be a "feature" of the PDH api itself. I'm afraid there is not much I can do until it can be demonstrated the problem is in pywin32. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1601247&group_id=78018 |