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
Differential D26309
twsi: use tsleep instead of pause for better responsiveness avg on Sep 3 2020, 8:29 AM. Authored by Tags None Referenced Files
Subscribers
Details
wakeup() does not have any effect on pause(), so if a transfer was To do: protect the transfer and interrupt code with the mutex,
Diff Detail
|