git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/performance-thread: fix build with clang 12.0.1
[dpdk.git]
/
examples
/
performance-thread
/
pthread_shim
/
main.c
diff --git
a/examples/performance-thread/pthread_shim/main.c
b/examples/performance-thread/pthread_shim/main.c
index
257de50
..
7ce6cfb
100644
(file)
--- a/
examples/performance-thread/pthread_shim/main.c
+++ b/
examples/performance-thread/pthread_shim/main.c
@@
-72,7
+72,7
@@
void *helloworld_pthread(void *arg)
print_count++;
/* yield thread to give opportunity for lock contention */
-
pthrea
d_yield();
+
sche
d_yield();
/* retrieve arg from TLS */
uint64_t thread_no = (uint64_t) pthread_getspecific(key);