NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/40384 (64 bit time_t broke wscons)
> On Jan 14, 11:57pm, yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) wrote:
> -- Subject: Re: kern/40384 (64 bit time_t broke wscons)
>
> | it flushes the queue, yes. but it seems unsafe to me.
> | eg. if malloc() sleeps.
> | eg. if someone is in the middle of wsevent_read().
> | necessary locking complicates the code more, i guess.
>
> Got it. Fixed.
>
> Thanks,
>
> christos
well, have you checked whether it's safe even if every EVSIZE()
returns different values due to concurrent setversions?
with the way i suggested, only uiomove in wsevent_read and
_INJECT ioctl needs conversion, right? would it be so complicate?
YAMAMOTO Takashi
Home |
Main Index |
Thread Index |
Old Index