[pypy-commit] cffi default: Document issue #319

arigo pypy.commits at gmail.com
Fri Jun 16 11:28:33 EDT 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2978:78e1cba114e1
Date: 2017-06-16 12:04 +0200
http://bitbucket.org/cffi/cffi/changeset/78e1cba114e1/

Log:	Document issue #319

diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -20,6 +20,12 @@
   mode you still cannot call C functions that take complex numbers
   directly as arguments or return type.
 
+* Fixed a rare race condition when creating multiple ``FFI`` instances
+  from multiple threads.  (Note that you aren't meant to create many
+  ``FFI`` instances: in inline mode, you should write ``ffi =
+  cffi.FFI()`` at module level just after ``import cffi``; and in
+  out-of-line mode you don't instantiate ``FFI`` explicitly at all.)
+
 
 v1.10.1
 =======


More information about the pypy-commit mailing list