oops
This commit is contained in:
parent
a49b03b61b
commit
82ccb687e4
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue