norwin - 2002-07-01

i dont really know where must i post this ... :P

this code: "
    TimerPort timer;
    timeout_t init = numeric_limits<timeout_t>::max();
    timer.setTimer(init);

    Thread::sleep(1000);

    cout << init-timer.getElapsed() << endl;
"

show 4294967295 and not ~1000

if I use numeric_limits<long>::max(), it works

I wanna get something like the TimeGetTime, surrentTimeMillis function, is there any alternative ?

this is a bug ? a wrong use ?

(work with in cc2-0.99.4, under win32, maybe it's fixed in 0.99.6)