|
From: | Campbell Barton |
Subject: | Re: [PATCH] support for accessing CPU/core count (processor-count) |
Date: | Mon, 11 Oct 2021 12:51:26 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
On 10/11/21 12:34, Po Lu wrote:
Campbell Barton <ideasman42@gmail.com> writes:Hi, this patch adds support for accessing the number of CPU's / cores on a system, matching CPython's multiprocessing.cpu_count() [0].Forgive me if I'm wrong, but doesn't this belong in sysdep.c, and not emacs.c?
This seems like a better location. Updated the patch, including OpenBSD's ncpuonline support from Omar Polo.
0001-processor-count.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |