Matthias Hochsteger
163135981e
Fix GIL issues in GenerateMesh() functions
...
Functions with a python typed argument (kwargs in this case) cannot use
py::call_guard<py::gil_scoped_release>()
because it means, the GIL is not held when the function returns (and
cleans up arguments/temporary variables).
Thus, remove the global call guard and create a local variable
py::gil_scoped_release gil_release;
after arguments are processed and before meshing starts.
This local variable is destroyed before the function returns
(acquiring the GIL again).
2024-06-21 11:36:37 +02:00
..
2021-09-28 22:34:11 +02:00
2020-01-15 15:13:08 +01:00
2021-09-28 22:34:11 +02:00
2019-07-09 10:39:16 +02:00
2009-01-12 23:40:13 +00:00
2022-05-05 14:39:31 +02:00
2017-02-27 11:35:56 +01:00
2022-12-08 15:26:27 +01:00
2023-07-25 19:45:16 +02:00
2021-06-08 11:56:57 +02:00
2018-02-26 14:08:22 +01:00
2022-12-08 15:19:16 +01:00
2009-01-12 23:40:13 +00:00
2022-03-25 18:22:05 -04:00
2022-03-25 18:22:05 -04:00
2019-07-09 10:39:16 +02:00
2009-01-12 23:40:13 +00:00
2022-03-25 18:22:05 -04:00
2022-03-07 20:59:24 +01:00
2021-04-17 16:27:30 +02:00
2009-01-24 23:28:47 +00:00
2009-09-07 11:50:13 +00:00
2022-05-05 14:39:31 +02:00
2009-01-12 23:40:13 +00:00
2022-03-25 18:22:05 -04:00
2022-03-28 17:45:00 +02:00
2009-01-12 23:40:13 +00:00
2009-09-07 11:50:13 +00:00
2019-10-28 13:44:51 +01:00
2019-10-28 13:44:51 +01:00
2022-09-08 11:08:25 -04:00
2020-10-17 08:18:32 +02:00
2024-06-21 11:36:37 +02:00
2023-08-05 12:01:01 +02:00
2021-06-08 11:56:57 +02:00
2020-10-16 09:44:11 +02:00
2022-03-25 18:22:05 -04:00
2022-01-27 11:49:42 +01:00
2020-10-17 17:08:58 +02:00
2022-09-08 11:08:25 -04:00
2022-03-25 18:22:05 -04:00
2009-01-12 23:40:13 +00:00
2019-07-09 10:39:16 +02:00
2021-09-28 22:34:11 +02:00
2019-07-09 10:39:16 +02:00
2023-08-28 10:02:22 +02:00
2020-10-17 17:08:58 +02:00
2019-08-28 14:04:05 +02:00
2019-07-09 10:39:16 +02:00
2023-08-05 12:01:01 +02:00
2022-05-05 14:39:31 +02:00
2019-08-28 14:04:05 +02:00