Bug#691765: Bindings don't seem to release the GIL when doing I/O

2015-08-28 Thread Jean-Michel Vourgère
Control: tags -1 +upstream -patch Hi Here's the answer from Tobias (upstream): the problem is that the getopt library is not threadsave and most rrdtool functions except rrd_xport still use getopt ... so in order to make it all thread save the other functions would also have to be switched

Bug#691765: Bindings don't seem to release the GIL when doing I/O

2015-08-27 Thread Jean-Michel Vourgère
Control: tags -1 + patch Hello Enrico. On Mon, Oct 29, 2012 at 02:49:03PM +0100, Enrico Zini wrote: I was auditing the rrdtool binding code to check if they could be used in a python thread without locking the entire application via the GIL. Extensions are supposed to release the GIL lock

Bug#691765: Bindings don't seem to release the GIL when doing I/O

2015-08-27 Thread Enrico Zini
On Thu, Aug 27, 2015 at 08:18:16PM +, Jean-Michel Vourgère wrote: How does this look? https://github.com/nirgal/rrdtool-1.x/commit/8949308812a0205dd356cefbe2eb2888012ee742 Not asking for a full review, a that's the idea would be cool. ^^ That's definitely the idea :) Enrico -- GPG

Bug#691765: Bindings don't seem to release the GIL when doing I/O

2014-04-25 Thread Sebastian Harl
forwarded 691765 rrd-develop...@lists.oetiker.ch thanks Hi, On Mon, Oct 29, 2012 at 02:49:03PM +0100, Enrico Zini wrote: I was auditing the rrdtool binding code to check if they could be used in a python thread without locking the entire application via the GIL. Extensions are supposed to

Bug#691765: Bindings don't seem to release the GIL when doing I/O

2012-10-29 Thread Enrico Zini
Package: python-rrdtool Version: 1.4.7-2 Severity: normal Hello, I was auditing the rrdtool binding code to check if they could be used in a python thread without locking the entire application via the GIL. Extensions are supposed to release the GIL lock around potentially blocking I/O