diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-08-31 02:18:43 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-08-31 02:18:43 +0000 |
commit | 1ea5d42dc058044af3a9ba4b9da62bf4569d54b5 (patch) | |
tree | 83100236e6c68dfa6eca0a1b3a209b7db772a0ef /ChangeLog | |
parent | 46a1e648fe1c86dc33df799fddf97659ddc17063 (diff) |
* python/dbus_bindings.pyx
(_pending_call_notification, cunregister_function_handler,
cmessage_function_handler): All callback functions have been rearranged
to workaround a bug in Pyrex when working with the GIL which is Python's
global lock when dealing with threads. They have been split into
a wrapper function (which assumes the name of the old function) and
a _GIL_safe_<function name> function which contains the functionality
of the old function. This ensures that Pyrex does not write code
the lock is released.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2005-08-30 John (J5) Palmieri <johnp@redhat.com> + * python/dbus_bindings.pyx + (_pending_call_notification, cunregister_function_handler, + cmessage_function_handler): All callback functions have been rearranged + to workaround a bug in Pyrex when working with the GIL which is Python's + global lock when dealing with threads. They have been split into + a wrapper function (which assumes the name of the old function) and + a _GIL_safe_<function name> function which contains the functionality + of the old function. This ensures that Pyrex does not write code + the lock is released. + + +2005-08-30 John (J5) Palmieri <johnp@redhat.com> + * python/dbus_bindings.pyx (_pending_call_notification): Obtain the GIL global lock when calling back into Python |