X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=threads-model.h;h=02362100dca410b35f531ef536e2066f85315890;hb=00b14c0561d3838aeb798d3c22f4136f8c4d136b;hp=344d58badada9f13297a149c220c0f33d505238a;hpb=a330eb33b1b62dfa71f3f0cb055367a30090c180;p=model-checker.git diff --git a/threads-model.h b/threads-model.h index 344d58b..0236210 100644 --- a/threads-model.h +++ b/threads-model.h @@ -148,7 +148,7 @@ Thread * thread_current(); static inline thread_id_t thrd_to_id(thrd_t t) { - return t; + return t.priv->get_id(); } /**