diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2019-07-04 10:40:06 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2019-07-04 10:48:05 +0200 |
commit | 8d53e9f3c6001dcb2865f6e894da5b54e1418f88 (patch) | |
tree | 63907f21c13636a987d43463c675d0727a04e327 /examples/performance-thread/common/lthread_api.h | |
parent | e2bea7436061ca2e7e14bfcfdc5870f2555c3965 (diff) |
New upstream version 18.11.2upstream-18.11-stable
Change-Id: I23eb4f9179abf1f9c659891f8fddb27ee68ad26b
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'examples/performance-thread/common/lthread_api.h')
-rw-r--r-- | examples/performance-thread/common/lthread_api.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/performance-thread/common/lthread_api.h b/examples/performance-thread/common/lthread_api.h index 995deb4d..e6879ea5 100644 --- a/examples/performance-thread/common/lthread_api.h +++ b/examples/performance-thread/common/lthread_api.h @@ -206,12 +206,12 @@ void lthread_run(void); * Creates an lthread and places it in the ready queue on a particular * lcore. * - * If no scheduler exists yet on the curret lcore then one is created. + * If no scheduler exists yet on the current lcore then one is created. * * @param new_lt * Pointer to an lthread pointer that will be initialized * @param lcore - * the lcore the thread should be started on or the current clore + * the lcore the thread should be started on or the current lcore * -1 the current lcore * 0 - LTHREAD_MAX_LCORES any other lcore * @param lthread_func @@ -469,7 +469,7 @@ void /** * Set lthread TLS * - * This function is modelled on pthread_set_sepcific() + * This function is modelled on pthread_set_specific() * It associates a thread-specific value with a key obtained via a previous * call to lthread_key_create(). * Different threads may bind different values to the same key. These values @@ -749,7 +749,7 @@ int lthread_cond_wait(struct lthread_cond *c, uint64_t reserved); * Signal a condition variable * * The function unblocks one thread waiting for the condition variable cond. - * If no threads are waiting on cond, the rte_lthead_cond_signal() function + * If no threads are waiting on cond, the rte_lthread_cond_signal() function * has no effect. * * @param cond @@ -765,7 +765,7 @@ int lthread_cond_signal(struct lthread_cond *c); * Broadcast a condition variable * * The function unblocks all threads waiting for the condition variable cond. - * If no threads are waiting on cond, the rte_lthead_cond_broadcast() + * If no threads are waiting on cond, the rte_lathed_cond_broadcast() * function has no effect. * * @param cond |