[issue10311] Signal handlers must preserve errno

Amaury Forgeot d'Arc report at bugs.python.org
Thu Nov 4 14:41:25 CET 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

This issue is not really relevant on Windows:
- signals are actually run in a new thread specially created.
- errno is a thread-local variable; its value is thus local to the signal handler, same for WSAGetLastError().

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10311>
_______________________________________


More information about the Python-bugs-list mailing list