Brian Behlendorf 2ded1c7eff Fix cv_timedwait timeout
Perform the already past expiration time check before updating
cvp->cv_mutex with the provided mutex.  This check only depends
on local state.  Doing it first ensures that cvp->cv_mutex will not
be updated in the timeout case or if it's ever called with an
expire_time <= now.

Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #616
2017-05-25 10:01:44 -07:00
..
2013-03-04 19:09:34 -08:00
2017-05-25 10:01:44 -07:00
2016-09-16 17:10:36 -07:00
2015-01-16 13:55:08 -08:00
2016-01-20 13:07:45 -08:00
2016-11-02 10:34:19 -07:00
2015-01-16 13:55:08 -08:00