mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
usrsocktest: correct the parameter when pthread_kill is called
When the value of the signal is modified, the function will be faulty Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
c93c0da4b0
commit
216df60208
1 changed files with 1 additions and 1 deletions
|
|
@ -562,7 +562,7 @@ static void do_wake_test(enum e_test_type type, int flags)
|
|||
|
||||
for (tidx = 0; tidx < nthreads; tidx++)
|
||||
{
|
||||
pthread_kill(tid[tidx], 1);
|
||||
pthread_kill(tid[tidx], SIGUSR1);
|
||||
|
||||
/* Wait threads to complete work. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue