From 1a59ddcb5a76647bd1a3f19fd055649f70282f0e Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 4 May 2013 23:53:07 -0500 Subject: Fix inadvertent renaming. --- doc/libpythonize.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/libpythonize.html') diff --git a/doc/libpythonize.html b/doc/libpythonize.html index 0aae9a2..f49fc63 100644 --- a/doc/libpythonize.html +++ b/doc/libpythonize.html @@ -50,7 +50,7 @@ the lock is not released, access will be denied to Python code relying on the in bindings like PyTQt or PyKDE).

-If a second instance of Pythonize is created (within the same parent process), that instance will actquire +If a second instance of Pythonize is created (within the same parent process), that instance will acquire the lock automatically. In order to allow a second (and third or more) instance of Pythonize to be created and obtain the lock, it's necessary to have a related thread state (PyThreadState). This thread state is created by a call to PyThreadState_Get when the first instance of Pythonize is created. The @@ -87,11 +87,11 @@ C:


Pythonize () [C++] or initialize () [C]

-Constructor/initializer - loads and initializaes the interpreter and actquires the global interpreter lock. +Constructor/initializer - loads and initializaes the interpreter and acquires the global interpreter lock. Sets the value of pythonInit to true on success or false if construction/initialization fails Initializes the global thread state (first instance) or restores the global thread state (second and later instances). It is the programmer's resposibility to release the global interpreter lock to enable other -code to access the interpreter. The lock and thread state are automatically actquired when any Pythonize +code to access the interpreter. The lock and thread state are automatically acquired when any Pythonize instance is created..


@@ -168,9 +168,9 @@ returns the results of the function call as a PyObject. Returns NULL on f Releases the global interpreter lock using PyEval_SaveThread. Saves the global thread state.


-

void actquireLock ()

+

void acquireLock ()

-Actquires the global interpreter lock using PyEval_RestoreThread. Restores the global thread state. +Acquires the global interpreter lock using PyEval_RestoreThread. Restores the global thread state.


PyThreadState *getThreadState ()

-- cgit v1.2.3