X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=model.cc;h=6ec608038ecd348eac26dbec8ed4468da25a9b0c;hb=31081494669effd19d6b4e502129db6397722f28;hp=c01122191d0e712750b382f87b9c0edbfecf9aa2;hpb=00a4dfc8e9c23117e8e4490be5354f7d95ad73e9;p=model-checker.git diff --git a/model.cc b/model.cc index c011221..6ec6080 100644 --- a/model.cc +++ b/model.cc @@ -1689,7 +1689,10 @@ void ModelChecker::remove_thread(Thread *t) * context). This switch is made with the intention of exploring a particular * model-checking action (described by a ModelAction object). Must be called * from a user-thread context. - * @param act The current action that will be explored. Must not be NULL. + * + * @param act The current action that will be explored. May be NULL only if + * trace is exiting via an assertion (see ModelChecker::set_assert and + * ModelChecker::has_asserted). * @return Return status from the 'swap' call (i.e., success/fail, 0/-1) */ int ModelChecker::switch_to_master(ModelAction *act)