Mercurial > hg > orthanc-stone
comparison Framework/Widgets/LayeredSceneWidget.cpp @ 46:766d31dc5716 wasm
removing threads for wasm
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 19 Apr 2017 14:33:06 +0200 |
parents | 027418bd1517 |
children | 25befef48c35 |
comparison
equal
deleted
inserted
replaced
45:ecd96e563929 | 46:766d31dc5716 |
---|---|
367 boost::mutex::scoped_lock lock(sliceMutex_); | 367 boost::mutex::scoped_lock lock(sliceMutex_); |
368 return slice_; | 368 return slice_; |
369 } | 369 } |
370 | 370 |
371 | 371 |
372 void LayeredSceneWidget::UpdateStep() | 372 void LayeredSceneWidget::UpdateContent() |
373 { | 373 { |
374 size_t layer = 0; | 374 size_t layer = 0; |
375 bool isLast = true; | 375 bool isLast = true; |
376 if (!pendingLayers_->Dequeue(layer, isLast)) | 376 if (!pendingLayers_->Dequeue(layer, isLast)) |
377 { | 377 { |