#include <NutsBarrier.hh>
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 () |
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.
1.4.7