X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=threads.cc;h=6b4e2c740ab50b7b55f624b7bda05a4c9ad72678;hb=d9e24346b98954bd73c9b798fd31031ff3781163;hp=dd2a59832027557b543d8fd606f842527b270f97;hpb=adf77053d498af32ab4c6764b50d4265bed5996c;p=model-checker.git diff --git a/threads.cc b/threads.cc index dd2a598..6b4e2c7 100644 --- a/threads.cc +++ b/threads.cc @@ -34,8 +34,6 @@ Thread * thread_current(void) * Provides a startup wrapper for each thread, allowing some initial * model-checking data to be recorded. This method also gets around makecontext * not being 64-bit clean - * @todo We should make the START event always immediately follow the - * CREATE event, so we don't get redundant traces... */ void thread_startup() { @@ -176,7 +174,7 @@ Thread::~Thread() } /** @return The thread_id_t corresponding to this Thread object. */ -thread_id_t Thread::get_id() +thread_id_t Thread::get_id() const { return id; }