Page MenuHomeFreeBSD

twsi: use tsleep instead of pause for better responsiveness
ClosedPublic

Authored by avg on Sep 3 2020, 8:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 11:06 AM
Unknown Object (File)
Thu, Apr 30, 10:28 AM
Unknown Object (File)
Tue, Apr 28, 12:30 AM
Unknown Object (File)
Apr 20 2026, 12:12 AM
Unknown Object (File)
Apr 18 2026, 4:33 PM
Unknown Object (File)
Apr 14 2026, 10:41 PM
Unknown Object (File)
Apr 11 2026, 5:57 PM
Unknown Object (File)
Apr 10 2026, 3:21 PM
Subscribers

Details

Summary

wakeup() does not have any effect on pause(), so if a transfer was
not finished by the time of the first check, then the thread
would sleep full 30 ms.

To do: protect the transfer and interrupt code with the mutex,
switch from tsleep from msleep

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable