www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/02/12:34:30.1

From: Claudio Castellini <drwho AT mrg DOT dist DOT unige DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: setrlimit & setrusage
Date: Fri, 02 Apr 1999 16:52:24 +0200
Organization: Universita' di Genova
Lines: 27
Message-ID: <3704D9A8.C2D70354@mrg.dist.unige.it>
NNTP-Posting-Host: tarski.mrg.dist.unige.it
Mime-Version: 1.0
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i686)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello everyone.

I need desperately to put a timeout on my program, compiled under DJGPP. I
looked at the online documentation and found that setrlimit is, by now,
implemented as a dummy.

(a) does the DJGPP staff plan to fully implement it in the near future?
(b) if not, d'ya know any other way to stop a program still running after n
    seconds without using setrlimit() ?
(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)?

Thank you in advance.

-- 

              ---------------------+-------------------------------
         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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019