[openib-general] [PATCH] uDAPL dapl_os_wait_object_wait()
Nishanth Aravamudan
nacc at us.ibm.com
Tue Aug 2 15:14:55 PDT 2005
On 25.07.2005 [15:20:29 -0700], Arlin Davis wrote:
> James,
>
> Here is a patch to fix dapl_os_wait_object_wait() returning
> EINVAL when passing nsec == 1000000000 to pthread_cond_timedwait().
> Hit a rare case where _microsecs was exactly 1000000.
Hrm, rather than use all of these hard-coded numbers, might it not be
better to have USEC_PER_SEC, etc. as #defines? Just makes the code a
bit clearer without too much thought. Just my experience in dealing with
time/timer code :)
Thanks,
Nish
More information about the general
mailing list