Decrease CPU loads for resource thread 45/24145/1
authorjonghyun.ho <jonghyun.ho@samsung.com>
Fri, 4 Jul 2014 13:05:48 +0000 (22:05 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 16:07:09 +0000 (17:07 +0100)
commitc7883e569bb9832f30dc758bdf031109ccdf803b
tree0cd6bb57b4b3bb1fdc5f76e384996e15a7ccaf4a
parentfeacfe58828d12ba8cbe0a4c37cb32149dcc34ac
Decrease CPU loads for resource thread

[problem]     Gallery is stuck sometimes if it has so many images.
[cause]       Heavy works in resource thread.
[solution]    Decrease CPU loads for resource thread using environment variable.
              Have DALI_RESOURCE_THREAD_IDLE_PRIORITY set, and idle priority for the resources
              will be used.

Change-Id: Iab8b3a5687046831329740429b2ae586dc9ec5cb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
platform-abstractions/slp/resource-loader/resource-thread-base.cpp