Re: getrlimit(RLIMIT_AS, ...) on OpenBSD

2013-10-03 Thread niXman
_DATA > #endif Thanks! -- Regards, niXman

getrlimit(RLIMIT_AS, ...) on OpenBSD

2013-10-03 Thread niXman
t long either 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

Re: Which syscall is used for creating new process/thread on OpenBSD

2013-09-16 Thread niXman
)' finally use a single system call >> like 'clone()'? > > No. Maybe 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 ___

Which syscall is used for creating new process/thread on OpenBSD

2013-09-13 Thread niXman
used, and for thread 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 _