[erlang-questions] SMP in emacs?

Dan Gudmundsson dgud@REDACTED
Tue Nov 2 17:50:34 CET 2010


C-u M-x erlang-shell
erl -smp +S12

> erlang:system_info(schedulers).
12

/Dan
PS: If you read/modified the code you could have seen that :-)

On Tue, Nov 2, 2010 at 5:38 PM, Aaron Broad <aaron.broad@REDACTED> wrote:
> Hi Aaron,
>
> in /lib/tools-2.6.6.1/emacs/erlang.el
>
> I switched the variable erlang-machine-opts to '("-smp") from '()
>
> Now I can compile wx and run wx programs in emacs
>
> Thanks:-),
> Aaron
>
> On 2010-11-02, at 9:26 AM, Aaron Broad wrote:
>
>> Hi all,
>>
>> I'm trying to develop an wx application which requires SMP.  But by default the emacs tools are leaving me in non-smp mode.  How do I switch my default shell in emacs to an smp enabled one?  NB:  erl -smp works fine on the command prompt.
>>
>> In ubuntu with latest version (tools-2.6.6.1)
>>
>> thanks,
>> Aaron
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>>
>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list