X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=promise.cc;fp=promise.cc;h=e38696ea4d119fd4d159656d3b3eed74443d8f3c;hb=f1ecfba94c7ceb77c071ffa906cd6d51f66f8ee3;hp=69197cbac818b8f8dc01ad75d1d109df61474783;hpb=f2a0c8a2e1073829d963f7f8dbc1e5a0bb6172d3;p=model-checker.git diff --git a/promise.cc b/promise.cc index 69197cb..e38696e 100644 --- a/promise.cc +++ b/promise.cc @@ -59,7 +59,7 @@ bool Promise::thread_is_available(thread_id_t tid) const /** @brief Print debug info about the Promise */ void Promise::print() const { - model_print("Promised value %#" PRIx64 ", read from thread %d, available threads to resolve: ", value, read->get_tid()); + model_print("Promised value %#" PRIx64 ", read from thread %d, available threads to resolve: ", value, id_to_int(read->get_tid())); for (unsigned int i = 0; i < available_thread.size(); i++) if (available_thread[i]) model_print("[%d]", i);