ecore/main: only update loop_time during loop iteration if the change is monotonic
authorMike Blumenkrantz <zmike@samsung.com>
Tue, 14 Aug 2018 21:09:32 +0000 (17:09 -0400)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 17 Aug 2018 04:15:03 +0000 (13:15 +0900)
commit7b5ed4317432c0bcfad46f1eb4abffc4e98fb0d4
tree2b6089bc1f4f6a303cb5a4bb45369842dfd5101c
parentac91844ddd527054fe60900d4c5cce6f7f3cd250
ecore/main: only update loop_time during loop iteration if the change is monotonic

Summary:
in the case where the user has called loop_time_set with a value in the future,
avoid setting the loop time to something that would potentially cause a callback
to occur with a loop_time value before a previous occurrence of that callback

@fix

Reviewers: ManMower

Reviewed By: ManMower

Subscribers: ManMower, #reviewers, cedric, #committers

Tags: #efl_main_loop

Differential Revision: https://phab.enlightenment.org/D6764
src/lib/ecore/ecore_main.c