/* References to NULL atomic variables can end up here */
ASSERT(loc);
this->size = size;
- Thread *t = thread_current();
- this->tid = t->get_id();
+ this->tid = thread_current_id();
}
/* References to NULL atomic variables can end up here */
ASSERT(loc);
this->size = size;
- Thread *t = thread_current();
- this->tid = t->get_id();
+ this->tid = thread_current_id();
}