* get_nprocs/_conf leave unimplemented in sys/sysconf.h
@ 2014-11-03 6:25 黄建忠
0 siblings, 0 replies; only message in thread
From: 黄建忠 @ 2014-11-03 6:25 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
Hi,
some funcs in sys/sysconf.h leave unimpletmented, for example:
get_nprocs/_conf and other two.
Even these funcs are rare used, I still find a problem in jamvm(for get_nprocs), defined but unimplemented.
I use below codes to fix:
#define get_nprocs_conf() (sysconf(_SC_NPROCESSORS_CONF))
#define get_nprocs() (sysconf(_SC_NPROCESSORS_ONLN))
It seems ok.
[-- Attachment #2: Type: text/html, Size: 455 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-03 6:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-03 6:25 get_nprocs/_conf leave unimplemented in sys/sysconf.h 黄建忠
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).