projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixup usage of int vs. thread_id_t
[model-checker.git]
/
threads.h
diff --git
a/threads.h
b/threads.h
index 9456a22f2fe4942b1004a87794fa3474eaeab26b..b69f4265618d1dd2eb4ef18c66aef2b4442a0496 100644
(file)
--- a/
threads.h
+++ b/
threads.h
@@
-11,10
+11,7
@@
#include "mymemory.h"
#include "libthreads.h"
#include "mymemory.h"
#include "libthreads.h"
-
-typedef int thread_id_t;
-
-#define THREAD_ID_T_NONE -1
+#include "modeltypes.h"
/** @brief Represents the state of a user Thread */
typedef enum thread_state {
/** @brief Represents the state of a user Thread */
typedef enum thread_state {