Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add boolean check for wakeup tree initialization
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Thu, 11 May 2023 13:36:28 +0000 (15:36 +0200)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 16 May 2023 07:50:34 +0000 (09:50 +0200)
commit87dd4584804ecf97b8bd32cec01e31a9cdc0e541
treea24df2fe56bd8c331e450edfe7a7a684356a1a54
parent746a2035fbbf84f8647d0badac80115ea3b00be0
Add boolean check for wakeup tree initialization

While not great, one way to prevent the wakeup
tree from continuing to add elements after it
has already done so when empty is to add a
boolean flag that's checked to prevent the
addition. For now, we'll live with it
src/mc/api/State.cpp
src/mc/api/State.hpp