python plugin: Fixing possible problems with the GIL.
authorSven Trenkel <collectd@semidefinite.de>
Tue, 16 Aug 2016 21:52:38 +0000 (21:52 +0000)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 22 Aug 2016 21:08:45 +0000 (23:08 +0200)
commit46a35862cb9ff3caddad1fc01e02141b6e0a9f72
tree000810d9f749afaec1ca3eaaef71ebd939004170
parent7a43e0b7b46589add8b7a3e7a870dc6485e04cdf
python plugin: Fixing possible problems with the GIL.

If AfterFork is called after threads have been initialized.
Also handle SIGTERM while reading from an interactive session slightly more gracefully.
src/python.c