set_backtracking(curr);
/* Assign reads_from values */
- /* TODO: perform release/acquire synchronization here; include
- * reads_from as ModelAction member? */
Thread *th = get_thread(curr->get_tid());
uint64_t value = VALUE_NONE;
if (curr->is_read()) {
void thread_startup() {
Thread * curr_thread = thread_current();
+ /* TODO -- we should make this event always immediately follow the
+ CREATE event, so we don't get redundant traces... */
+
/* Add dummy "start" action, just to create a first clock vector */
model->switch_to_master(new ModelAction(THREAD_START, memory_order_seq_cst, curr_thread));