commit | c7d56010815b0e7104dfc1d4bba6d16cdcbffec4 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Sep 14 15:48:42 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Sep 14 15:48:42 2009 -0700 |
tree | b9b3a22c43414ae2dbd978252d4f8fda5b8b055f | |
parent | 46cd3afb0228dd18c5d67d2ef7e3620fcc4cc239 [diff] |
make sure to update the tail pointer when undoing a dequeue
diff --git a/include/private/ui/SharedBufferStack.h b/include/private/ui/SharedBufferStack.h index 6181f55..8b0f154 100644 --- a/include/private/ui/SharedBufferStack.h +++ b/include/private/ui/SharedBufferStack.h
@@ -228,6 +228,8 @@ friend struct Condition; friend struct DequeueCondition; friend struct LockCondition; + + int32_t computeTail() const; struct QueueUpdate : public UpdateBase { inline QueueUpdate(SharedBufferBase* sbb);