Is there a portable way to limit memory/cpu usage of a D application?
Mike Young
michael.young.1124 at gmail.com
Wed Nov 28 20:44:32 PST 2012
On Wednesday, 9 November 2011 at 17:13:14 UTC, Dejan Lekic wrote:
> Sure
> nothing prevents me from using setrlimit() in my D app, but
> perhaps it is
> something to think about a portable way of doing that.
I know I'm over a year late coming in on this conversation, but
how would you use setrlimit() in your D app at all? I can't seem
to figure out what the correct library is to include in my
program to be able to call set/getrlimit in any manner. Thanks!
More information about the Digitalmars-d-learn
mailing list