Thread (130 messages) 130 messages, 16 authors, 2021-03-23

Re: [dpdk-dev] [PATCH v5 15/17] vdpa/mlx5: replace pthread functions unavailable in musl

From: Matan Azrad <hidden>
Date: 2021-03-01 07:34:49


From: Thomas Monjalon
1/ The function pthread_yield() does not exist in musl libc, and can be replaced
with sched_yield() after including sched.h.

2/ The function pthread_attr_setaffinity_np() does not exist in musl libc, and
can be replaced with pthread_setaffinity_np() after pthread_create().

Fixes: b7fa0bf4d5c6 ("vdpa/mlx5: fix polling threads scheduling")
Fixes: 5cf3fd3af4df ("vdpa/mlx5: add CPU core parameter to bind polling
thread")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <redacted>
Acked-by: Matan Azrad <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help