testing/fs:remove the usleep of evend_fd read to solve the questiong of sem wait

Remove unnecessary usleep(1000) in the read thread of eventfd test.
The eventfd read operation will block and wait for data naturally via semaphore, no additional delay is needed.

Signed-off-by: wangxingxing <wangxingxing@xiaomi.com>
This commit is contained in:
wangxingxing 2025-11-17 16:29:42 +08:00 committed by Alan C. Assis
parent 050fb406c2
commit f2ba4883fa

View file

@ -54,7 +54,6 @@ __attribute__((unused)) static void *threadfunc(void *args)
for (int i = 0; i < 5; i++)
{
read(fd, &eventfd01_buffer, sizeof(eventfd_t));
usleep(1000);
}
return 0;