L4Re/departure

Changeset

541:caae4f22112b
2023-03-22 Paul Boddie raw files shortlog changelog graph Permit re-entry, needed when subscribing to receive deferred notifications.
libnotifier/lib/src/notifier.cc (file)
     1.1 --- a/libnotifier/lib/src/notifier.cc	Wed Mar 22 23:13:16 2023 +0100
     1.2 +++ b/libnotifier/lib/src/notifier.cc	Wed Mar 22 23:14:12 2023 +0100
     1.3 @@ -187,6 +187,12 @@
     1.4      state.endpoint = server.config()->server;
     1.5    }
     1.6  
     1.7 +  /* Allow this object to be re-entered. This may occur because the subscribe
     1.8 +     operation can cause deferred notifications to be sent back to the
     1.9 +     subscribed notifier and to this object. */
    1.10 +
    1.11 +  state_guard.unlock();
    1.12 +
    1.13    /* Subscribe, sending the notification endpoint via the principal reference
    1.14       for the object. */
    1.15