|
|
| Author |
Message |
|
| Guest |
Posted: Tue Nov 02, 2010 12:28 pm |
|
|
|
Guest
|
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@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Nov 02, 2010 4:40 pm |
|
|
|
Guest
|
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@erlang.org
>
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questions-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Nov 02, 2010 4:52 pm |
|
|
|
Guest
|
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@unb.ca> 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. |
|
|
| Back to top |
|
| Guest |
Posted: Wed Nov 03, 2010 1:02 pm |
|
|
|
Guest
|
Hi Dan & all,
Off topic question. Could someone please explain me what's
the benefits of this "+S" option (and the "+A" option by the way).
How to choose their values?
--
Regards
Zabrane
2010/11/2 Dan Gudmundsson <dgud@erlang.org>:
> C-u M-x erlang-shell
> erl -smp +S12
>
>> erlang:system_info(schedulers).
> 12
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questions-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| phicarre |
Posted: Tue Nov 30, 2010 10:30 am |
|
|
|
User
Joined: 23 Mar 2009
Posts: 14
|
Like this ?
(defvar inferior-erlang-machine-options '("-smp") |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|