base: Add a new type of CallbackQueue.
authorGabe Black <gabeblack@google.com>
Fri, 14 Aug 2020 06:27:44 +0000 (23:27 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 18 Aug 2020 11:48:51 +0000 (11:48 +0000)
commit4f121c11a244097a34f09e7930abbc5123a3c13a
tree72c334b83d703fa5d475d0d15ff46cf8f24be4b6
parent96f482fd6cc01f9181360daac0ae80e2dee40401
base: Add a new type of CallbackQueue.

This type is templated on what arguments the callbacks in it accept, and
it inherits directly from std::list instead of containing one and
forwarding selected members.

This version is called CallbackQueue2, but once all CallbackQueue
instances have been replaced it will be renamed to CallbackQueue.

Issue-on: https://gem5.atlassian.net/browse/GEM5-698
Change-Id: I32ab7454ea8c6a2af31cbcf5d4932a069ace1cb5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32642
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/callback.hh