Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_53728F690A25F5A03E3045F8@qq.com>
Date: Mon, 3 Nov 2014 14:25:57 +0800
From: "黄建忠" <jianzhong.huang@...oft.com.cn>
To: "musl" <musl@...ts.openwall.com>
Subject: get_nprocs/_conf leave unimplemented in sys/sysconf.h

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.
Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.