Page MenuHomeFreeBSD

tests/procdesc: Use a more efficient mechanism to block
ClosedPublic

Authored by markj on May 21 2026, 2:09 PM.
Tags
None
Referenced Files
F175657870: D57149.diff
Mon, Oct 12, 8:10 AM
Unknown Object (File)
Sat, Oct 10, 6:34 PM
Unknown Object (File)
Fri, Oct 2, 6:32 PM
Unknown Object (File)
Fri, Oct 2, 5:52 PM
Unknown Object (File)
Fri, Oct 2, 3:34 AM
Unknown Object (File)
Thu, Oct 1, 6:19 PM
Unknown Object (File)
Thu, Oct 1, 10:49 AM
Unknown Object (File)
Wed, Sep 30, 6:30 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.May 21 2026, 2:09 PM

I would also consider adding some timeout by counting the number of usleep() calls, to avoid infinite wait.

This revision is now accepted and ready to land.May 21 2026, 2:15 PM
In D57149#1309603, @kib wrote:

I would also consider adding some timeout by counting the number of usleep() calls, to avoid infinite wait.

kyua itself provides a timeout mechanism, I think it's ok to rely on that?

In D57149#1309603, @kib wrote:

I would also consider adding some timeout by counting the number of usleep() calls, to avoid infinite wait.

kyua itself provides a timeout mechanism, I think it's ok to rely on that?

Sure.