Skip to content
Commit eeaf3bdb authored by Jaxson Han's avatar Jaxson Han Committed by Carles Cufí
Browse files

tests: posix: eventfd: Move thread from stack to data section



The test case allocate struct k_thread thread in the stack. This will
lead the random initial value of thread and thus cause the test cases
randomly hang. To fix such issue, move the declartion of struct k_thread
thread outside the function as a stacic variable.

Signed-off-by: default avatarJaxson Han <jaxson.han@arm.com>
parent 09288304
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment