[pywin32-bugs] [ pywin32-Bugs-1063508 ] LockFileEx does not return outcome of lock operation
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-11-10 00:24:58
|
Bugs item #1063508, was opened at 2004-11-10 00:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1063508&group_id=78018 Category: win32 Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jody Burns (jodyburns) Assigned to: Nobody/Anonymous (nobody) Summary: LockFileEx does not return outcome of lock operation Initial Comment: When win32file.LockFileEx is called, it returns None instead of the success/failure of the lock operation. When used with non-blocking locks it is impossible to tell if a lock has succeeded or not. I have attached a program demonstrating this behavior. When the program is run, it attempts to lock itself but has no way of knowing it the lock succeeded. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1063508&group_id=78018 |