Parent: c9528d9a36620356bed4363a93e0b1ac5b44529a
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-12 16:24:10
Tree: 9ce2fe80c8d909972112d43c9464e7ed39bfb8a1
shared/queue: Add reference counting to entries This makes queue_foreach much more efficient when tracking if the next entry was remove by the callback.
Diffstat
| M | src/shared/queue.c | | | 77 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 48 insertions(+), 29 deletions(-)