[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] support for accessing CPU/core count (processor-count)
From: |
Arthur Miller |
Subject: |
Re: [PATCH] support for accessing CPU/core count (processor-count) |
Date: |
Mon, 11 Oct 2021 17:55:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Omar Polo <op@omarpolo.com> writes:
> 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?
Ok, no idea; sorry I didn't noticed; I am sorry than. I pulled my source like
yesterday or day before, so I was just looking at the sources; I have obiously
missed his patch.
- Re: [PATCH] support for accessing CPU/core count (processor-count), (continued)
- Re: [PATCH] support for accessing CPU/core count (processor-count), Omar Polo, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Omar Polo, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Omar Polo, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Omar Polo, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Omar Polo, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count),
Arthur Miller <=
- Re: [PATCH] support for accessing CPU/core count (processor-count), Andreas Schwab, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Andreas Schwab, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Andreas Schwab, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/11
- Re: [PATCH] support for accessing CPU/core count (processor-count), Andreas Schwab, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Andreas Schwab, 2021/10/10
- Re: [PATCH] support for accessing CPU/core count (processor-count), Arthur Miller, 2021/10/10