NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41094: sigtimedwait returns EAGAIN instead of EINVAL if timeout is invalid



On Mar 29,  4:30pm, matteo%beccati.com@localhost (Matteo Beccati) wrote:
-- Subject: Re: kern/41094: sigtimedwait returns EAGAIN instead of EINVAL if 

| The following reply was made to PR kern/41094; it has been noted by GNATS.
| 
| From: Matteo Beccati <matteo%beccati.com@localhost>
| To: gnats-bugs%NetBSD.org@localhost
| Cc: 
| Subject: Re: kern/41094: sigtimedwait returns EAGAIN instead of EINVAL if
|  timeout is invalid
| Date: Sun, 29 Mar 2009 18:29:08 +0200
| 
|  However, the fix doesn't work if both tv_sec and tv_usec == LONG_MAX.
|  
|  Reusing the mstohz definition from sys/sys/param.h, with hz set to 100, 
|  I got: 2147483649147ms -> 100hz

Does changing the mstohz(ms) to tstohz(&ts) work?

christos


Home | Main Index | Thread Index | Old Index