* timer.cc (timer_tracker::timer_tracker): Eliminate simple constructor.
(ttstart): Fully initialize. * errno.cc: Fix typo introduced in previous change.
This commit is contained in:
parent
c0add211e4
commit
12f9fb4972
|
@ -1,3 +1,11 @@
|
||||||
|
2005-03-28 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* timer.cc (timer_tracker::timer_tracker): Eliminate simple
|
||||||
|
constructor.
|
||||||
|
(ttstart): Fully initialize.
|
||||||
|
|
||||||
|
* errno.cc: Fix typo introduced in previous change.
|
||||||
|
|
||||||
2005-03-28 Eric Blake <ebb9@byu.net>
|
2005-03-28 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
* errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG.
|
* errno.cc (FILENAME_EXCED_RANGE): Map to ENAMETOOLONG.
|
||||||
|
|
|
@ -78,7 +78,7 @@ static NO_COPY struct
|
||||||
X (BUSY, EBUSY),
|
X (BUSY, EBUSY),
|
||||||
X (ALREADY_EXISTS, EEXIST),
|
X (ALREADY_EXISTS, EEXIST),
|
||||||
X (NO_SIGNAL_SENT, EIO),
|
X (NO_SIGNAL_SENT, EIO),
|
||||||
X (FILENAME_EXCED_RANGE, ENAMETOOLONG,
|
X (FILENAME_EXCED_RANGE, ENAMETOOLONG),
|
||||||
X (META_EXPANSION_TOO_LONG, EINVAL),
|
X (META_EXPANSION_TOO_LONG, EINVAL),
|
||||||
X (INVALID_SIGNAL_NUMBER, EINVAL),
|
X (INVALID_SIGNAL_NUMBER, EINVAL),
|
||||||
X (THREAD_1_INACTIVE, EINVAL),
|
X (THREAD_1_INACTIVE, EINVAL),
|
||||||
|
|
|
@ -35,12 +35,11 @@ struct timer_tracker
|
||||||
int settime (int, const itimerspec *, itimerspec *);
|
int settime (int, const itimerspec *, itimerspec *);
|
||||||
void gettime (itimerspec *);
|
void gettime (itimerspec *);
|
||||||
timer_tracker (clockid_t, const sigevent *);
|
timer_tracker (clockid_t, const sigevent *);
|
||||||
timer_tracker () {};
|
|
||||||
~timer_tracker ();
|
~timer_tracker ();
|
||||||
friend void fixup_timers_after_fork ();
|
friend void fixup_timers_after_fork ();
|
||||||
};
|
};
|
||||||
|
|
||||||
timer_tracker NO_COPY ttstart;
|
timer_tracker NO_COPY ttstart (CLOCK_REALTIME, NULL);
|
||||||
|
|
||||||
class lock_timer_tracker
|
class lock_timer_tracker
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue