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

Kinsella, Ray mdr at ashroe.eu
Mon Mar 22 09:57:01 CET 2021


On 20/03/2021 11:27, Dmitry Kozlyuk wrote:
> 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>
> ---
>  lib/librte_eal/common/eal_common_timer.c |  5 +++--
>  lib/librte_eal/include/rte_thread.h      | 11 +++++++++++
>  lib/librte_eal/rte_eal_exports.def       |  2 ++
>  lib/librte_eal/unix/rte_thread.c         | 10 +++++++++-
>  lib/librte_eal/version.map               |  3 +++
>  lib/librte_eal/windows/eal_thread.c      |  9 ++++++++-
>  6 files changed, 36 insertions(+), 4 deletions(-)
> 

[SNIP]

Acked-by: Ray Kinsella <mdr at ashroe.eu>


More information about the dev mailing list