diff options
| author | Wojtek Porczyk <woju@invisiblethingslab.com> | 2017-03-17 02:16:25 +0100 |
|---|---|---|
| committer | Daniel P. Berrange <berrange@redhat.com> | 2017-04-04 15:00:27 +0100 |
| commit | 72e237f7b9a8c8b353753a7e9c0a6fdbb3d553c5 (patch) | |
| tree | 2f70b2a3bc57479816b3576979c336a541cfcffb /libvirt-python.spec.in | |
| parent | 069269e896e16ae8e1f3ebb4dd15655b8d2d944b (diff) | |
| download | libvirt-python-72e237f7b9a8c8b353753a7e9c0a6fdbb3d553c5.tar.gz | |
Allow for ff callbacks to be called by custom event implementations
The documentation says:
> If the opaque user data requires free'ing when the handle is
> unregistered, then a 2nd callback can be supplied for this purpose.
> This callback needs to be invoked from a clean stack. If 'ff'
> callbacks are invoked directly from the virEventRemoveHandleFunc they
> will likely deadlock in libvirt.
And they did deadlock. In removeTimeout too. Now we supply a custom
function to pick it from the opaque blob and fire.
Signed-off-by: Wojtek Porczyk <woju@invisiblethingslab.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-python.spec.in')
0 files changed, 0 insertions, 0 deletions
