[erlang-questions] enif_send and smp/non-smp beam: how to check dynamically?

Constantin Rack constantin@REDACTED
Tue Nov 10 20:49:44 CET 2015


To check for SMP, use:

> erlang:system_info(smp_support).

http://www.erlang.org/doc/man/erlang.html#system_info-1

-Constantin


Am 10.11.2015 um 20:44 schrieb Max Lapshin:

> enif_send: env==NULL on non-SMP VM
> 
> 
> 
> How to check dynamically if erlang is smp or non smp and give or not give env?
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151110/2e241ef4/attachment.htm>


More information about the erlang-questions mailing list