projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
threads/model: allocate Thread from w/in ModelChecker
[model-checker.git]
/
threads-model.h
diff --git
a/threads-model.h
b/threads-model.h
index 02362100dca410b35f531ef536e2066f85315890..d4d2da29e82a7fc1c58a2a61db7ee61aac7206a5 100644
(file)
--- a/
threads-model.h
+++ b/
threads-model.h
@@
-13,6
+13,11
@@
#include <threads.h>
#include "modeltypes.h"
+struct thread_params {
+ thrd_start_t func;
+ void *arg;
+};
+
/** @brief Represents the state of a user Thread */
typedef enum thread_state {
/** Thread was just created and hasn't run yet */