[LTP] [PATCH v1] fzsync: break inf loop with flag vs pthread_cancel
Edward Liaw
edliaw@google.com
Mon Apr 11 17:13:55 CEST 2022
Hi Li, Richard,
On Mon, Apr 11, 2022, 2:36 AM Li Wang <liwang@redhat.com> wrote:
>
>
> On Mon, Apr 11, 2022 at 5:27 PM Richard Palethorpe <rpalethorpe@suse.de>
> wrote:
>
>> > > + tst_atomic_store(1, &pair->exit);
>> > > + usleep(100000);
>> >
>> > Why do we need usleep?
>> >
>> > Seems not very needed.
>>
>> +1
>>
>
> @Edward, It'd be appreciated if you can send a patch V2 base on
> the comments above. Or, do you have different thoughts?
>
Ok, will do! I'm still new to using the mailing list so I wasn't sure how
to proceed :P
Thanks,
Edward
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20220411/c899ab80/attachment.htm>
More information about the ltp
mailing list