[issue11223] interruption of locks by signals not guaranteed when locks are implemented using POSIX condition variables
STINNER Victor
report at bugs.python.org
Tue Apr 26 03:34:44 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> > - Rename _PyThread_Info() to PyThread_GetInfo() (consistent name with
> > PyFloat_GetInfo() and PyLong_GetInfo())
>
> I don't think we want that API to be public, so it should be
> _PyThread_GetInfo().
Why should it be private in C, but not in Python?
Why should it be private whereas PyLong_GetInfo() and PyFloat_GetInfo()
are public?
> > - Always compile thread.c, but add #ifdef WITH_THREAD around most the
> > file (except PyThread_GetInfo())
>
> What's the point? Sounds like pointless complication.
Complication? It does *simplify* configure.in.
I don't want to create a new file just for a small function.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11223>
_______________________________________
More information about the Python-bugs-list
mailing list