commit | eeaf3bdb2d6c911648e8a70963bfb393886cba84 | [log] [tgz] |
---|---|---|
author | Jaxson Han <jaxson.han@arm.com> | Wed Sep 06 15:05:26 2023 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Sep 22 09:25:12 2023 +0200 |
tree | ba9963c0ad1371b37df60e99cab44d0a3b56bde8 | |
parent | 0928830409d069c8075a8a81b3bc6f4abd40d6a7 [diff] |
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: Jaxson Han <jaxson.han@arm.com>