Mail Archives: djgpp/1999/04/07/10:50:22
Martin Str|mberg wrote:
>
> Claudio Castellini (drwho AT mrg DOT dist DOT unige DOT it) wrote:
> : Hello everyone.
> :
> which DOZE doesn't provide. However note that nothing is implemented
> until somebody comes along with enough motivation that does the
> work. (You e. g.) So if somebody knows how to do it and will do it, go
> ahead!
This sound fine. Eli Zaretsky too tells me to do the thing myself, and I am
challenged by this task. The point is, I don't have enough low-level knowledge
about DOS to try to implement such OS-related functions.
Any ideas about books/infosources to start from?
> : (b) if not, d'ya know any other way to stop a program still running after n
> : seconds without using setrlimit() ?
>
> It not exactly setrlimit() but what about alarm()?
Great idea! I have come through the CPU time limit problem, thanks to it.
However, there's still no way to put limits on memory, file numbers and other
stuff setrlimit can do.
> : (c) in the 2.02 "what's new" section, it is stated that getrusage and setrusage
> : have been implemented. What is "setrusage" (couldn't find it in any gcc
> : documentation)?
>
> Well it's from libc (I think) so look in the libc documentation, not
> the gcc one. Failing finding anything there, look in the libc
> sources.
Could not find any references to it; I'll assume it's a bug of the manual, as
someone else has suggested.
--
---------------------+-------------------------------
Claudio Castellini, M.Sc. | mailto:drwho AT dist DOT unige DOT it
Biomedical Engineerings | http://www.mrg.dist.unige.it/~drwho
---------------------+-------------------------------
c/o MRG - University of Genoa
viale F. Causa, 15 - 16145 Genoa (Italy)
ph. +39 - 0103532811 / fax +39 - 0103532948
-----------------------------------------------------
...sei come la neve,
che tocchi e sciolta e' gia'.
- Raw text -