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 _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
