@rtype: int @return: Thread exit code, or C{STILL_ACTIVE} if it's still alive.
(self)
| 433 | return True |
| 434 | |
| 435 | def get_exit_code(self): |
| 436 | """ |
| 437 | @rtype: int |
| 438 | @return: Thread exit code, or C{STILL_ACTIVE} if it's still alive. |
| 439 | """ |
| 440 | if win32.THREAD_ALL_ACCESS == win32.THREAD_ALL_ACCESS_VISTA: |
| 441 | dwAccess = win32.THREAD_QUERY_LIMITED_INFORMATION |
| 442 | else: |
| 443 | dwAccess = win32.THREAD_QUERY_INFORMATION |
| 444 | return win32.GetExitCodeThread(self.get_handle(dwAccess)) |
| 445 | |
| 446 | # ------------------------------------------------------------------------------ |
| 447 |
no test coverage detected