|
Message-ID: <20160628165215.GK10893@brightrain.aerifal.cx> Date: Tue, 28 Jun 2016 12:52:15 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: RUSAGE_THREAD On Tue, Jun 28, 2016 at 04:00:45PM +0100, Raphael Cohn wrote: > Hi, > > I'm in the process of compiling ZFS on Linux against musl. ZFS seems to > make a few slightly glibc-like assumptions, one of which is the use of > RUSAGE_THREAD. Musl seems to lack a definition of this in sys/resource.h. > Is this deliberate? > > Glibc defines RUSAGE_THREAD as 1, but musl already uses this value for > RUSAGE_CHILDREN (glibc sets this as -1). What would be the correct value > for RUSAGE_THREAD with musl? Maybe this is incorrect in musl then. Can anyone confirm? The values are determined by (i.e. have to match) the kernel. Rich
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.