projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b13a6b0
)
model: update switch_to_master() comment
author
Brian Norris
<banorris@uci.edu>
Wed, 3 Oct 2012 19:37:22 +0000
(12:37 -0700)
committer
Brian Norris
<banorris@uci.edu>
Wed, 3 Oct 2012 19:37:22 +0000
(12:37 -0700)
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index c01122191d0e712750b382f87b9c0edbfecf9aa2..6ec608038ecd348eac26dbec8ed4468da25a9b0c 100644
(file)
--- 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.
* 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)
* @return Return status from the 'swap' call (i.e., success/fail, 0/-1)
*/
int ModelChecker::switch_to_master(ModelAction *act)