example/poll: add delay for poll testcase

for should setup the fifo firstly

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2023-02-06 17:13:31 +08:00 committed by Xiang Xiao
parent bdc522bad7
commit 12a2e14a83

View File

@ -156,6 +156,10 @@ int main(int argc, FAR char *argv[])
}
#endif
/* Let the pthreads run first */
sleep(1);
/* Loop forever */
for (count = 0; ; count++)