rlottie: reduce polling count for task scheduler to 2.
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 30 Oct 2019 09:47:00 +0000 (18:47 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 11 Nov 2019 20:58:15 +0000 (05:58 +0900)
commiteb0505b21955d625d9d5bbf98655e715e9734293
treebfd9c376ed7548849b7b0f6ae043778bcdef8d82
parent511d26e6bfae169261f10fa1592449b53b52d500
rlottie: reduce polling count for task scheduler to 2.

when the queue is empty the thread tries to steal from other queue
and it was doing it 32 times .. changed it to 2 as it was spinning for
long time before going to  sleep. As we always give the tasks in batches
we can reduce the spin time.
src/lottie/lottieanimation.cpp
src/vector/vraster.cpp