[erlang-questions] Why system_flag(scheduler_bind_type) is deprecated?

Max Lapshin max.lapshin@REDACTED
Wed Dec 26 17:46:57 CET 2012


Mac OS X:

$ erl +sbt s
setting scheduler bind type 's' failed: not supported
Usage: beam.smp [flags] [ -- [init_args] ]
...
$ erl -sbt s
Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:4:4] [async-threads:
0] [hipe] [kernel-poll:false] [dtrace]
2> erlang:system_info(scheduler_bindings).
{unbound,unbound,unbound,unbound}



Linux:

$ erl +sbt s
Erlang R15B (erts-5.9) [source] [64-bit] [smp:8:8] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.9  (abort with ^G)
1> erlang:system_info(scheduler_bindings).
{0,1,2,3,4,5,6,7}


Setting this flag +sbt doesn't allow me to launch code under mac os.
How should I change system_flag/2 call to this flag?



More information about the erlang-questions mailing list