X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Ftimer_lib.rst;h=f4374171b7e022c684c93d010b860530ef1b9ee9;hb=f8d61d39bbad0410e6615928b5243341f07d8374;hp=7baf03480aacdc32e1c47efa51bebac352ecef33;hpb=48624fd96e7c4a9603e383baa193909fea392232;p=dpdk.git diff --git a/doc/guides/prog_guide/timer_lib.rst b/doc/guides/prog_guide/timer_lib.rst index 7baf03480a..f4374171b7 100644 --- a/doc/guides/prog_guide/timer_lib.rst +++ b/doc/guides/prog_guide/timer_lib.rst @@ -85,7 +85,7 @@ the expiry time of the first list entry is maintained within the per-core timer On 64-bit platforms, this value can be checked without the need to take a lock on the overall structure. (Since expiry times are maintained as 64-bit values, a check on the value cannot be done on 32-bit platforms without using either a compare-and-swap (CAS) instruction or using a lock, -so this additional check is skipped in favour of checking as normal once the lock has been taken.) +so this additional check is skipped in favor of checking as normal once the lock has been taken.) On both 64-bit and 32-bit platforms, a call to rte_timer_manage() returns without taking a lock in the case where the timer list for the calling core is empty.