* Reverted accidental part of r40114. Thanks Philippe!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -111,8 +111,7 @@ ImageCache::RetrieveImage(const entry_ref& ref, int32 page,
|
|||||||
entry->ref = ref;
|
entry->ref = ref;
|
||||||
entry->page = page;
|
entry->page = page;
|
||||||
|
|
||||||
if (fThreadCount < fMaxThreadCount
|
if (fThreadCount < fMaxThreadCount) {
|
||||||
|| (target != NULL && fThreadCount == fMaxThreadCount)) {
|
|
||||||
// start a new worker thread to load the image
|
// start a new worker thread to load the image
|
||||||
thread_id thread = spawn_thread(&ImageCache::_QueueWorkerThread,
|
thread_id thread = spawn_thread(&ImageCache::_QueueWorkerThread,
|
||||||
"image loader", B_LOW_PRIORITY, this);
|
"image loader", B_LOW_PRIORITY, this);
|
||||||
|
|||||||
Reference in New Issue
Block a user