Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge branch 'upstream-16.11-stable' into 16.11.x
[deb_dpdk.git]
/
examples
/
performance-thread
/
common
/
lthread.c
diff --git
a/examples/performance-thread/common/lthread.c
b/examples/performance-thread/common/lthread.c
index
062275a
..
77c870f
100644
(file)
--- a/
examples/performance-thread/common/lthread.c
+++ b/
examples/performance-thread/common/lthread.c
@@
-327,13
+327,14
@@
struct lthread *lthread_current(void)
/*
* Tasklet to cancel a thread
*/
-static void
+static void
*
_cancel(void *arg)
{
struct lthread *lt = (struct lthread *) arg;
lt->state |= BIT(ST_LT_CANCELLED);
lthread_detach();
+ return NULL;
}