Page MenuHomeFreeBSD

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

Authored by markj on Thu, May 21, 2:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 5:19 AM
Unknown Object (File)
Mon, Jun 8, 9:58 PM
Unknown Object (File)
Mon, Jun 8, 8:07 AM
Unknown Object (File)
Sun, Jun 7, 8:48 AM
Unknown Object (File)
Thu, Jun 4, 1:27 AM
Unknown Object (File)
Wed, Jun 3, 11:53 PM
Unknown Object (File)
Tue, Jun 2, 8:14 AM
Unknown Object (File)
Sun, May 31, 1:36 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.Thu, May 21, 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.Thu, May 21, 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.