summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8e9a615)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
*
* alpha = 0;
* beta = 0;
*
* alpha = 0;
* beta = 0;
*
* Process A Process B
* alpha = 1; beta = 1;
*
* Process A Process B
* alpha = 1; beta = 1;
DECLARE_CACHED_VAR(byte, alpha, 0);
DECLARE_CACHED_VAR(byte, beta, 0);
DECLARE_CACHED_VAR(byte, alpha, 0);
DECLARE_CACHED_VAR(byte, beta, 0);
-/* value 2 is uninitialized */
-byte read_one = 2;
-byte read_two = 2;
+byte read_one = 1;
+byte read_two = 1;
/*
* Bit encoding, proc_one_produced :
/*
* Bit encoding, proc_one_produced :