[erlang-questions] +swt very_low doesn't seem to avoid schedulers getting

Patrik Nyblom pan@REDACTED
Thu Oct 18 16:26:50 CEST 2012


On 10/17/2012 05:42 AM, Vance Shipley wrote:
> 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.
And the driver has no other callbacks?
>




More information about the erlang-questions mailing list