]> www.infradead.org Git - users/sagi/libnvme.git/commit
python: Release GIL on blocking calls
authorMartin Belanger <martin.belanger@dell.com>
Fri, 4 Nov 2022 18:53:44 +0000 (14:53 -0400)
committerDaniel Wagner <dwagner@suse.de>
Mon, 7 Nov 2022 10:17:06 +0000 (11:17 +0100)
commit7d14a39b7d4af0a49cb76cf45467d353b14aaa28
treec62dad02b2a93e544c4272cc5db05d0c50068401
parent643e51009e3f58736dd4c88580a9bb7892efde27
python: Release GIL on blocking calls

Release Python's GIL (global interpreter lock) when invoking blocking
functions from multithreaded Python applications. This is to prevent
long running threads to block all other threads.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
libnvme/nvme.i