summaryrefslogtreecommitdiff
path: root/libglnx
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-05-06 22:19:05 -0400
committerColin Walters <walters@verbum.org>2015-05-10 16:20:53 -0400
commit2dfe24632a4d1d73ca5676b503135090f092db22 (patch)
tree596abfd7530e73a117eb159557443cd23052a002 /libglnx
parentd0edf6334625d9f65917a1bfbe42076f52b0fe8f (diff)
downloadostree-2dfe24632a4d1d73ca5676b503135090f092db22.tar.gz
sysroot: Add a try_lock() API
The blocking locking API wasn't sufficient for use in the rpm-ostree daemon; it really wants to know if the lock is held, then continue to do other things (like service DBus requests), and get notification when the lock is available. We also add an async variant that can be called if the lock is not available. Implement a higher level "loop until lock is available" method in the `ostree admin` commandline.
Diffstat (limited to 'libglnx')
m---------libglnx0
1 files changed, 0 insertions, 0 deletions
diff --git a/libglnx b/libglnx
-Subproject cf8ae27bab717621f1edf8ab6ae3dd89da4d8d4
+Subproject 900b25f7018878ab64bd04751d8f15c6d83ba82