timer: pause in reset sync
authorRobert Sanford <rsanford2@gmail.com>
Wed, 25 Feb 2015 04:09:47 +0000 (23:09 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Feb 2015 09:39:42 +0000 (10:39 +0100)
commitbf2fef39b54b1ea96df9016c08675c5cf2624ae8
tree4c09ffe4b2f06c7fc89260015e47db9a2323cdcb
parent204896f8d66cb74c31283cbf201788e7c5505697
timer: pause in reset sync

In rte_timer_reset_sync(), insert rte_pause() into loop that waits
for rte_timer_reset() to succeed.

Signed-off-by: Robert Sanford <rsanford2@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_timer/rte_timer.c