Page MenuHomeFreeBSD

sem test: avoid ETIMEDOUT races in the EINTR test cases
AcceptedPublic

Authored by olivier on Sun, Oct 4, 4:25 PM.

Details

Reviewers
imp
Summary

timedwait and clockwait_absolute_intr_remaining arm a 50ms SIGALRM and then wait until an absolute deadline only 100ms in the future.
On a loaded VM the signal can be delivered more than 50ms late, so.the wait times out first.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

olivier created this revision.
This revision is now accepted and ready to land.Mon, Oct 5, 2:56 PM