[DGD] Is Running Atomically.

Raymond Jennings shentino at gmail.com
Sun Sep 25 02:34:20 CEST 2016


Isn't disabled rlimits supposed ot return -1?

Also, an rlimits(0;0) means no change, only -1 is infinite

On Sat, Sep 24, 2016 at 5:22 PM, <bart at wotf.org> wrote:

> On Sun, 25 Sep 2016 00:45:33 +0100, Gary wrote
>
> <snip>
>
> > Since that's based on ticks remaining however, there were times when
> > it evaluated to 0. I think that's when rlimits was disabled during
> > compilation, so this method was not reliable enough.
>
> You could wrap it in its own rlimits with a finite number of ticks, that
> should resolve that.
>
> Bart.
> --
> http://www.flickr.com/photos/mrobjective/
> http://www.om-d.org/
>
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>



More information about the DGD mailing list