Commit 8b61da4f authored by Matias Guijarro's avatar Matias Guijarro

no GIL in h5i* functions

parent 5eb9b186
Pipeline #23122 passed with stages
in 2 minutes and 34 seconds
From 9a849592180dcaf901c57e54604b03215b404f2a Mon Sep 17 00:00:00 2001
From: Matias Guijarro <guijarro@esrf.fr>
Date: Thu, 19 Mar 2020 12:40:10 +0100
Subject: [PATCH] do not hold GIL in H5I* functions
---
h5py/api_functions.txt | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/h5py/api_functions.txt b/h5py/api_functions.txt
index d425dcc..634c9e7 100644
--- a/h5py/api_functions.txt
+++ b/h5py/api_functions.txt
@@ -204,13 +204,13 @@ hdf5:
# === H5I - Identifier and reflection interface =============================
- H5I_type_t H5Iget_type(hid_t obj_id)
- ssize_t H5Iget_name( hid_t obj_id, char *name, size_t size)
- hid_t H5Iget_file_id(hid_t obj_id)
- int H5Idec_ref(hid_t obj_id)
- int H5Iget_ref(hid_t obj_id)
- int H5Iinc_ref(hid_t obj_id)
- htri_t H5Iis_valid( hid_t obj_id )
+ H5I_type_t H5Iget_type(hid_t obj_id) nogil
+ ssize_t H5Iget_name( hid_t obj_id, char *name, size_t size) nogil
+ hid_t H5Iget_file_id(hid_t obj_id) nogil
+ int H5Idec_ref(hid_t obj_id) nogil
+ int H5Iget_ref(hid_t obj_id) nogil
+ int H5Iinc_ref(hid_t obj_id) nogil
+ htri_t H5Iis_valid( hid_t obj_id ) nogil
# === H5L - Links interface =================================================
--
1.9.1
package:
name: h5py
version: 2.11a
version: 2.11b
source:
git_rev: master
git_url: https://github.com/h5py/h5py.git
patches:
- h5i_nogil.patch
build:
number: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment