Re: [dpdk-dev] [PATCH v2 3/7] eal: add sleep API

2021-02-21 Thread Tal Shnaiderman
> Subject: [dpdk-dev] [PATCH v2 3/7] eal: add sleep API > > External email: Use caution opening links or attachments > > > POSIX sleep(3) is missing from Windows. > Add generic rte_thread_sleep() to suspend current OS thread. > > Signed-off-by: Dmitry Kozlyuk >

[dpdk-dev] [PATCH v2 3/7] eal: add sleep API

2021-02-20 Thread Dmitry Kozlyuk
POSIX sleep(3) is missing from Windows. Add generic rte_thread_sleep() to suspend current OS thread. Signed-off-by: Dmitry Kozlyuk --- 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 ++