base: Provide a getter for Fiber::started boolean variable
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 3 May 2019 12:51:50 +0000 (13:51 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Sun, 9 Jun 2019 11:03:04 +0000 (11:03 +0000)
commit21573956f7b2be8479af25b2e6cfa6c2ec8fae8e
tree90e46553908869b05cb82a92d0e6dd337aae1a53
parent2833eb91ea1266f9bab8be8804ba945451f5b561
base: Provide a getter for Fiber::started boolean variable

This can be used to check if the fiber has started its execution.

Change-Id: Ie9222b8076756363c9f82c1333c76a352bcaf817
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18648
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/fiber.cc
src/base/fiber.hh
src/base/fiber.test.cc