Erlang Scheduler

Bengt Kleberg bengt.kleberg@REDACTED
Fri Aug 25 08:24:04 CEST 2006

On 2006-08-25 05:52, lang er wrote:
> In Erlang(not smp), If one process is doing some blocking work,  Will 
> the whole Erlang  emulator  be blocked?


> For example, if I use blocking socket, or do some CPU-intensive 
> computing , can Erlang preempt such process? How to deal with this 
> situation?

the emulator uses poll/select to avoid blocking.
moreover, as a special case for file io there are extra threads in the 
emulator. see ''erl +A''.

    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."

More information about the erlang-questions mailing list