|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [XEN PATCH for-4.13 v2 1/6] libxl: Introduce libxl__ev_child_kill_deregister
Anthony PERARD writes ("[XEN PATCH for-4.13 v2 1/6] libxl: Introduce
libxl__ev_child_kill_deregister"):
> Allow to deregister the callback associated with a child death event.
>
> The death isn't immediate will need to be collected later, so the
> ev_child machinery register its own callback.
>
> libxl__ev_child_kill_deregister() might be called by an AO operation
> that is finishing/cleaning up without a chance for libxl to be
> notified of the child death (via SIGCHLD). So it is possible that the
> application calls libxl_ctx_free() while there are still child around.
> To avoid the application getting unexpected SIGCHLD, the libxl__ao
> responsible for killing a child will have to wait until it has been
> properly reaped.
Very good.
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |