[erlang-questions] +swt very_low doesn't seem to avoid schedulers getting
Vance Shipley
vances@REDACTED
Wed Oct 17 05:42:15 CEST 2012
On Tue, Oct 16, 2012 at 03:44:50PM +0200, Patrik Nyblom wrote:
} What does the other callbacks in your driver do? Anything that
} could take 10-20 ms? In that case it's normal, your port is locked
} for what would be considered a very long time in a driver.
On 10/16/2012 01:08 PM, Vance Shipley wrote:
} The driver uses driver_set_timer() to wake up in so many milliseconds
} (e.g. 10ms) to do a small amount of work in it's timeout() callback.
^^^^^^^^^^^^^^^^^^^^^^
Much less than a millisecond of work.
--
-Vance
More information about the erlang-questions
mailing list