Fix: sessiond ust-app session teardown race
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index aa66059adafb5aaa2d0270f0f0634ca3414b34b6..b62e218a03a74842d8bcf08dc3dbef0471f6f01e 100644 (file)
@@ -182,6 +182,8 @@ struct ust_app_session {
        int started;  /* allows detection of start vs restart. */
        int handle;   /* used has unique identifier for app session */
 
+       bool deleted;   /* Session deleted flag. Check with lock held. */
+
        /*
         * Tracing session ID. Multiple ust app session can have the same tracing
         * session id making this value NOT unique to the object.
This page took 0.023181 seconds and 4 git commands to generate.