chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kdbus: update header
[elogind.git]
/
src
/
shared
/
barrier.c
diff --git
a/src/shared/barrier.c
b/src/shared/barrier.c
index 4ac42d023943cd2d76d17b46f4287c9f582e8a7f..4a5544de27d309f0593c34d5fc4e1ccba06d0985 100644
(file)
--- a/
src/shared/barrier.c
+++ b/
src/shared/barrier.c
@@
-257,6
+257,8
@@
static bool barrier_read(Barrier *b, int64_t comp) {
* guarantees that exit-abortions do not overwrite real
* barriers. */
buf = BARRIER_ABORTION;
+ else
+ continue;
/* lock if they aborted */
if (buf >= (uint64_t)BARRIER_ABORTION) {