This commit is contained in:
David Rose 2006-02-06 23:04:31 +00:00
parent a49b03b61b
commit 82ccb687e4
2 changed files with 5 additions and 1 deletions

View File

@ -27,5 +27,9 @@
////////////////////////////////////////////////////////////////////
Thread *PStatThread::
get_thread() const {
#ifdef DO_PSTATS
return _client->get_thread_object(_index);
#else
return Thread::get_current_thread();
#endif
}

View File

@ -117,7 +117,7 @@ INLINE void PipelineCyclerTrueImpl::
release_write(CycleData *pointer) {
#ifdef NDEBUG
int pipeline_stage = Thread::get_current_thread()->get_pipeline_stage();
return release_write_stage(pipeline_stage);
return release_write_stage(pipeline_stage, pointer);
#else
_lock.release();
#endif