From 3f03ab5b1500ee93c0bc2b399ee263c8e74bd100 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 18 Oct 2018 16:26:57 +0200 Subject: [PATCH] MINOR: connection: Add a SUB_CALL_UNSUBSCRIBE event. Add a SUB_CALL_UNSUBSCRIBE event, to let the caller know that the unsubscribe method should be called before destroyin the object. --- include/types/connection.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/types/connection.h b/include/types/connection.h index da530598a..827df36f0 100644 --- a/include/types/connection.h +++ b/include/types/connection.h @@ -48,6 +48,7 @@ struct pipe; enum sub_event_type { SUB_CAN_SEND = 0x00000001, /* Schedule the tasklet when we can send more */ SUB_CAN_RECV = 0x00000002, /* Schedule the tasklet when we can recv more */ + SUB_CALL_UNSUBSCRIBE = 0x00000004, /* The mux wants its unsubscribe() method to be called before destruction of the underlying object */ }; struct wait_event {