[erlang-questions] Does some system call block many processes?

Sean Cribbs sean@REDACTED
Tue Aug 12 03:25:57 CEST 2014


Generally, no. The most expensive system calls (usually IO) will use
kqueue, epoll, or select (the first two if you use the "+K true" flag
on the command line). Other calls may use async threads so that they
do not block the scheduler. What system calls are you trying to
perform?

On Mon, Aug 11, 2014 at 8:12 PM, Bin Wang <wbin00@REDACTED> wrote:
> Hi,
>
> I know there are some system calls that will block the whole OS
> thread. While multi Erlang processes may running on one OS thread. So
> if one of the process call a block system call, will all the processes
> running on the same thread block?
>
> Thanks.
>
> ---
> Bin Wang
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



-- 
Sean Cribbs <sean@REDACTED>
Software Engineer
Basho Technologies, Inc.
http://basho.com/



More information about the erlang-questions mailing list