[Vortex] connection close handler execution order

Francis Brosnan Blazquez francis at aspl.es
Mon Nov 8 19:35:14 CET 2010


Hi Gernot,

> I confirmed that the on_close_handler (registered by
> vortex_connection_set_on_close) is called first, but the order of
> execution of the vortex_connection_set_on_close_full handlers seems to
> be arbitrary. From the code and doc. it appears the intent was to
> execute the handlers in order of registration, but it doesn’t seem to
> work on Windows. 

Ok,

> Maybe I am making the wrong assumptions here. 
> 
> In my case I was able to fix the problem easily by defining only one
> close handler ad handle the conditions inside of my handler.

Uhmnn...there is no explanation for your description. Maybe some code is
unregistering some connection close handler before they are executed? 

vortex_connection_set_on_close_full is a wrapper around
vortex_connection_set_on_close_full2 with insert_last = axl_true. If all
registrations were done using vortex_connection_set_on_close_full or
full2 with insert_last with the same value, all handler *must* be
executed in the registration order.

Let us to know if you find an explanation. Cheers!

-- 
Francis Brosnan Blázquez <francis.brosnan at aspl.es>
ASPL
91 134 14 22 - 91 134 14 45 - 91 116 07 57

AVISO LEGAL

Este mensaje se dirige exclusivamente a su destinatario. Los datos
incluidos en el presente correo son confidenciales y sometidos a secreto
profesional, se prohíbe divulgarlos, en virtud de las leyes vigentes. Si
usted no lo es y lo ha recibido por error o tiene conocimiento del mismo
por cualquier motivo, le rogamos que nos lo comunique por este medio y
proceda a destruirlo o borrarlo.

En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL). No obstante, usted puede ejercitar sus derechos de acceso,
rectificación, cancelación y oposición dispuestos en la mencionada Ley
Orgánica, notificándolo por escrito a:
ASPL - Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de
Henares (Madrid).



More information about the Vortex mailing list