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
@ -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…
x
Reference in New Issue
Block a user