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)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 13 Nov 2019 00:44:45 +0000 (09:44 +0900)
commit64eb31eb2710764e9b09e39dc35c7aaa643a8cf2
tree00f3719aa27e0dbe65d93830afd0cc5f98943b20
parented4791b0cd0ef08b3fd77db6ed085793751f55ac
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