[Boost-bugs] [Boost C++ Libraries] #7836: Add GIL RAII module to Boost.Python

Subject: [Boost-bugs] [Boost C++ Libraries] #7836: Add GIL RAII module to Boost.Python
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-29 16:51:53

#7836: Add GIL RAII module to Boost.Python
 Reporter: John Zwinck <jzwinck@…> | Owner: rwgk
     Type: Patches | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost Development Trunk | Severity: Not Applicable
 Keywords: GIL |
 This ticket follows a recent discussion I started on the Python C++ SIG
 mailing list (which in turn followed a brief topic on the Boost developers

 I would like to submit for inclusion in Boost.Python a pair of classes for
 releasing and acquiring the Python Global Interpreter Lock (GIL) using
 RAII semantics.

 Please see three files attached to this ticket: gil.hpp, gil.cpp, and
 gil_test.cpp, which implement and (lightly) test this new feature. They
 are modified from versions I maintain on GitHub in order to make them more
 compatible with existing code style in Boost.Python.

 This code (with different naming conventions but the same logic) has been
 used successfully by me "in production" and the releaser class is inspired
 by several examples online that others have until now copy-pasted when

Ticket URL: <https://svn.boost.org/trac/boost/ticket/7836>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC