Try another fix for wvlinkerhack and static libraries.
[wvstreams.git] / streams / wvtimeoutstream.cc
blob8eb54da5514b0b343f7d5d6af25b08a5e76a7e0a
1 /*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
5 * See wvtimeoutstream.h.
6 */
7 #include "wvtimeoutstream.h"
9 WvTimeoutStream::WvTimeoutStream(time_t msec) :
10 ok(true)
12 alarm(msec);
15 void WvTimeoutStream::execute()
17 WvStream::execute();
19 // reset the alarm if it has gone off
20 if (alarm_was_ticking) ok = false;