[dpdk-dev] [PATCH v7 1/5] eal: add sleep API

Morten Brørup mb at smartsharesystems.com
Tue Apr 6 16:34:12 CEST 2021


> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Dmitry Kozlyuk
> Sent: Sunday, April 4, 2021 1:41 AM
> 
> POSIX sleep(3) is missing from Windows.
> Add generic rte_thread_sleep() to suspend current OS thread.
> 
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> Acked-by: Khoa To <khot at microsoft.com>
> Acked-by: Ray Kinsella <mdr at ashroe.eu>

How is this better than the rte_delay_us_sleep() function in rte_cycles.h?


Med venlig hilsen / kind regards
- Morten Brørup



More information about the dev mailing list