diff options
author | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2021-03-22 11:54:16 +0900 |
---|---|---|
committer | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2021-04-06 15:58:47 +0900 |
commit | bd9df88e70982fb0de81664ebf928d1a414d2887 (patch) | |
tree | 813254108a519a28430746dca668307bea6139fd /libdlmclient/dlmclient.c | |
parent | 165bb55a61361306ded5b35aace4f660f99714be (diff) |
Add option to hold lease on unexpected disconnect
If a client application crashes while owning a lease,
the lease will automatically be revoked and all references
freed to make it available for another (or the restarted
original) client to claim and continue display. This will
cause the screen to blank while the lease is unowned.
Add an option to revoke the lease, but keep the reference to
the lease descriptor, so that the screen does not blank while
unowned.
This only has effect when a client exits without calling the
`dlm_release_lease` function. Otherwise the lease is revoked
and the descriptor dereferenced, just as before.
Bug-AGL: SPEC-3862
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: I3fc2c8fde4118b6e298ba31807fd5fa4766a97dd
Diffstat (limited to 'libdlmclient/dlmclient.c')
0 files changed, 0 insertions, 0 deletions