NutsBarrier Class Reference

Extra memory/time limitation, mainly for AIs. More...

#include <NutsBarrier.hh>

List of all members.

Public Member Functions

int getTimeRemaining () const
int getExtraTimeRemaining () const
void setConfigLimits (const xml::XMLConfig &cfg)
void setTimeLimitValue (int time, int reserve)
void setMemoryLimitValue (int memory)
void setSignalHandler (SignalHandler *hdl)
void setTimeLimit ()
void unsetTimeLimit ()
void setSignalCatch ()
void unsetSignalCatch ()


Detailed Description

Extra memory/time limitation, mainly for AIs.

Prologin contest puts a strict limitation on memory and time champions are allowed to use.

Also, put signal handlers to catch some nasty signals (SEGV, ...), to point out this is _their_ code that is badly programmed...

Currently, it doesn't work with multi-threaded process.


The documentation for this class was generated from the following files:
Generated on Sat Jun 23 16:11:50 2007 for Stechec/TBT by  doxygen 1.4.7