On Mon, Mar 22, 2021 at 07:54:19PM -0700, Stephen Hemminger wrote:
> On Mon, 22 Mar 2021 17:20:26 -0700
> Narcisa Ana Maria Vasile wrote:
>
> > @@ -59,7 +92,7 @@ void rte_thread_get_affinity(rte_cpuset_t *cpusetp);
> > *
> > * @return
> > * On success, zero.
> > - * On failure, a negati
On Mon, 22 Mar 2021 17:20:26 -0700
Narcisa Ana Maria Vasile wrote:
> @@ -59,7 +92,7 @@ void rte_thread_get_affinity(rte_cpuset_t *cpusetp);
> *
> * @return
> * On success, zero.
> - * On failure, a negative number.
> + * On failure, return a positive errno-style error number.
> */
From: Narcisa Vasile
Add the thread identifier type.
Add functions for comparing thread ids and obtaining the thread id
for the current thread.
Signed-off-by: Narcisa Vasile
---
lib/librte_eal/common/rte_thread.c| 101 ++
lib/librte_eal/include/rte_thread.h
3 matches
Mail list logo