2013/10/3 Antoine Jacoutot:
What is usually done in the ports tree depending on the context and the code
is:
(from memory)
#if defined (RLIMIT_AS)
setrlimit (RLIMIT_AS, ...);
#endif
OR
#ifndef (RLIMIT_AS)
# define RLIMIT_AS RLIMIT_DATA
#endif
Thanks!
--
Regards,
niXman
this limit is at most 2 GiB, or this resource is
unlimited.
Tell me please, what parameter should I use instead RLIMIT_AS, or how
else can I get the information similar to 'getrlimit(RLIMIT_AS, ...)'?
Thanks.
--
Regards,
niXman
the implementation for both will happen to call a function
named fork1(), but that's not something you should worry about.
Thank you.
--
Regards,
niXman
___
Dual-target(32 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net
creation - 'tfork()'.
I have two questions:
1. Is my statement correct?
2. Shouldn't 'vfork()' and 'tfork()' finally use a single system call
like 'clone()'?
Thanks.
--
Regards,
niXman
___
Dual-target(32 64-bit) MinGW compilers for 32 and 64-bit
4 matches
Mail list logo