mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-12 08:20:11 +00:00
Replace sleep() with pthread_join() to properly wait for the child thread to finish, avoiding orphan threads. Change sleep(1) to usleep(1000) to reduce test time while maintaining synchronization. Fix loop iteration count mismatch between reader thread (6 iterations) and writer (5 iterations). Signed-off-by: ligd <liguiding1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| cases | ||
| common | ||
| include | ||
| cmocka_fs_test.c | ||