On Wednesday 06 October 2010 02:51 pm, Jung-uk Kim wrote:
> Author: jkim
> Date: Wed Oct  6 18:51:22 2010
> New Revision: 213490
> URL: http://svn.freebsd.org/changeset/base/213490
>
> Log:
>   Simplify timeout check in futex_wait() using itimerfix() and
> return error if the given timeout is invalid.  Consistently use int
> type for timeout and correct a format string in futex_sleep().

This also fixes a case where the pointer is non-NULL but the actual 
content is zero.  Previously we were waiting forever in that case.

Jung-uk Kim
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to