Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3421e90
)
hsa: cl udp app wait for pthreads to exit
92/43492/3
author
Florin Coras
<
[email protected]
>
Tue, 29 Jul 2025 04:56:49 +0000
(
00:56
-0400)
committer
Florin Coras
<
[email protected]
>
Tue, 29 Jul 2025 05:08:33 +0000
(
01:08
-0400)
Type: improvement
Change-Id: I31367de6fe3dde38d4379069b5c6fe589bd12e76
Signed-off-by: Florin Coras <
[email protected]
>
src/plugins/hs_apps/vcl/vcl_test_cl_udp.c
patch
|
blob
|
history
diff --git
a/src/plugins/hs_apps/vcl/vcl_test_cl_udp.c
b/src/plugins/hs_apps/vcl/vcl_test_cl_udp.c
index
a0df4c2
..
1325941
100644
(file)
--- a/
src/plugins/hs_apps/vcl/vcl_test_cl_udp.c
+++ b/
src/plugins/hs_apps/vcl/vcl_test_cl_udp.c
@@
-342,6
+342,9
@@
main (int argc, char **argv)
while (!vt_clu_test_done (vclum))
;
+ /* Wait for pthreads to cleanup before signaling */
+ usleep (100e3);
+
for (int i = 1; i < vclum->num_workers; i++)
{
pthread_kill (vclum->worker_threads[i], SIGUSR1);