[DGD] Is Running Atomically.

bart at wotf.org bart at wotf.org
Sun Sep 25 02:56:03 CEST 2016


-1 - -1 = 0 :-)

Bart.

On Sat, 24 Sep 2016 17:34:20 -0700, Raymond Jennings wrote
> 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
> >
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd


--
http://www.flickr.com/photos/mrobjective/
http://www.om-d.org/




More information about the DGD mailing list