[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] support for accessing CPU/core count (processor-count)

From: Omar Polo
Subject: Re: [PATCH] support for accessing CPU/core count (processor-count)
Date: Mon, 11 Oct 2021 10:23:05 +0200
User-agent: mu4e 1.6.6; emacs 28.0.50

Arthur Miller <arthur.miller@live.com> writes:

> Omar Polo <op@omarpolo.com> writes:
>> But I'd like to add a small correction to your example.  The sysctl is
>> not correct on OpenBSD (and maybe NetBSD too?  I can't check.)  It
>> should read
>> (shell-command-to-string "sysctl -n hw.ncpuonline || sysctl -n hw.ncp")
> There you have a patch!
> Check the function 'comp-effective-async-max-jobs' in comp.el, line 3881.
> Fix the bsd-case in cond-statement and give Andrea a patch, so he does not 
> have
> to bother :).

Isn't this just fixed (or about to get fixed) by Paul Eggert?  In a
previous mail he attached two patches, one already installed in the
gnulib repo to fix this ncpu/ncpuonline issue (thanks!) and another to
use that gnulib function in Emacs (and specifically in comp.el.)

or am I missing something?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]