[pywin32-bugs] [ pywin32-Bugs-1408484 ] Increment reference to OVERLAPPED
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2006-02-27 10:51:09
|
Bugs item #1408484, was opened at 2006-01-18 07:54 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1408484&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: v1.0 (example) >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Michael Kleehammer (mkleehammer) Assigned to: Nobody/Anonymous (nobody) Summary: Increment reference to OVERLAPPED Initial Comment: It would be helpful if the reference count of OVERLAPPED objects was incremented by each overlapped I/O function that "posts" the object to the OS. I'm using I/O completion ports with sockes, and if the OVERLAPPED object is not stored somewhere, it is deallocated even after calling WSASend or WSARecv. (This is my assumption based on an error message stating the OVERLAPPED was deallocated.) In the WSAxxx function cases, it makes sense to approach this as if the OVERLAPPED were "referenced" by the operating system. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2006-02-27 21:51 Message: Logged In: YES user_id=14198 I'm afraid I can't do this without making pywin32 unable to interact with a completion-port implemented in (say) C++, without leaking. If you can point me at places where I could flag this in the documentation I would appreciate it. I do agree they should be hashable (which I will get to when I get a few minutes) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1408484&group_id=78018 |