[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

STINNER Victor report at bugs.python.org
Sat May 7 12:26:35 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

The threading has a function to get directly the identifier of the current thread: threading._get_ident() instead of threading.current_thread().ident. I think that threading._get_ident() is more reliable to threading.current_thread().ident because Thread.ident can be None in some cases. I created the issue #12028 to decide what to do with this function.

----------

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


More information about the Python-bugs-list mailing list