Hi Friedemann,
sorry for the silly question - I see it now (was looking at the wrong place).
Have a nice day
Christoph
Gesendet: Mittwoch, 15. November 2023 um 13:14 Uhr
Von: "Friedemann Kleint via PySide" <pyside@qt-project.org>
An: pyside@qt-project.org
Betreff: Re: [PySide] [shiboken6] allow-thread needed for Constructor ?
Von: "Friedemann Kleint via PySide" <pyside@qt-project.org>
An: pyside@qt-project.org
Betreff: Re: [PySide] [shiboken6] allow-thread needed for Constructor ?
Hi,
You can see that allow-thread is for example specified for the
QMutexLocker constructor added for
https://bugreports.qt.io/browse/PYSIDE-1271 at
sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2397 and it is
actually generated into the code. So, the GIL is held when calling a
constructor from Python and it can be released.
Regards, Friedemann
--
Friedemann Kleint
The Qt Company GmbH
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside
You can see that allow-thread is for example specified for the
QMutexLocker constructor added for
https://bugreports.qt.io/browse/PYSIDE-1271 at
sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2397 and it is
actually generated into the code. So, the GIL is held when calling a
constructor from Python and it can be released.
Regards, Friedemann
--
Friedemann Kleint
The Qt Company GmbH
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside
_______________________________________________ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside