[M3devel] FW: Uresource on freebsd 4?

Mika Nystrom mika at async.caltech.edu
Sun Apr 26 07:33:08 CEST 2009


As far as I'm concerned, I've sucked in all the Uresource junk into
interfaces inside my own application, so forget I said anything
about it.  (One day when I'm ambitious (or get weird segfaults!),
I'll write the C wrappers; for now they're just copies of the old
PM3 interfaces..)
 
     Mika

Jay writes:
>--_c686b76c-f145-4c40-913c-ad76373e06f4_
>Content-Type: text/plain; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>
>was slightly truncated:
>
>=20
>
> >> But if that's adequate -- exposing just ru_utime and ru_stime=2C then s=
>o is probably the old RTProcessPosix.
>
>
>
>The Linux/*BSD struct rusage documentation suggests they are all identical=
>=2C so I admit=2C I was crying wolf/fire without knowing.
>
>But Solaris 2.9 documentation suggests ours is/was wrong=2C but I haven't r=
>eally checked.
>
>It is fairly moot now anyway=2C unless someone really wants getrusage resto=
>red along with its full struct. Surely the options of a) do nothing b) rest=
>ore RTProcessPosix c) add a new safe/copying wrapper that only return ru_[u=
>s]time are more likely..
>
>=20
>
>=20
>
> [truncated deliberatley]=20
>
>--_c686b76c-f145-4c40-913c-ad76373e06f4_
>Content-Type: text/html; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><html>
><head>
><style>
>.hmmessage P
>{
>margin:0px=3B
>padding:0px
>}
>body.hmmessage
>{
>font-size: 10pt=3B
>font-family:Verdana
>}
></style>
></head>
><body class=3D'hmmessage'>
>was slightly truncated:<BR>
>&nbsp=3B<BR>
>&nbsp=3B&gt=3B&gt=3B But if that's adequate -- exposing just ru_utime and r=
>u_stime=2C then so is probably the old RTProcessPosix.<BR><BR><BR>
>The Linux/*BSD struct rusage documentation suggests they are all identical=
>=2C so I admit=2C I was crying wolf/fire without knowing.<BR>
>But&nbsp=3BSolaris 2.9 documentation suggests&nbsp=3Bours is/was wrong=2C b=
>ut I haven't really checked.<BR>
>It is fairly moot now anyway=2C unless someone really wants getrusage resto=
>red along with its full struct. Surely the options of a) do nothing b) rest=
>ore RTProcessPosix c) add a new&nbsp=3Bsafe/copying wrapper that only retur=
>n ru_[us]time are more likely..<BR>
>&nbsp=3B<BR>
>&nbsp=3B<BR>
>&nbsp=3B[truncated deliberatley] <BR></body>
></html>=
>
>--_c686b76c-f145-4c40-913c-ad76373e06f4_--



More information about the M3devel mailing list