[erlang-questions] logical_processors_available unknown on mac

Alin Popa alin.popa@REDACTED
Thu Feb 18 14:11:58 CET 2016

Yep, I can use `logical_processors` instead, that will do for what I need.


On Thu, Feb 18, 2016 at 1:05 PM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:

> On 18 February 2016 at 12:46, Alin Popa <alin.popa@REDACTED> wrote:
> > Hmmmm, sure, I think it makes sense, but still, it works fine on
> > Linux as I've tested.
> > Also, not entirely sure what should I use instead of that on OSX,
> > any idea?
> Doesn't 'logical_processors' (ignoring _available and _online) suffice
> for your use case?
> If not, and assuming you're on Apple hardware, I'm afraid there's no
> way to ask OS X about hot swappable CPUs, because there is no such
> concept in OS X. Also, I'm not aware of current Apple hardware that
> supports hot-swapping CPUs.
> If you run OS X on non-Apple hardware, maybe a device driver (kext)
> could access such info.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160218/439c815d/attachment.htm>

More information about the erlang-questions mailing list