summaryrefslogtreecommitdiffstats
path: root/cmd/.gitignore
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-05-25 10:01:44 -0700
committerGitHub <[email protected]>2017-05-25 10:01:44 -0700
commit2ded1c7eff76f9f53b179659f25f3868b6a354ec (patch)
tree6146f1345fca220a0539a9ec6dd13a205579f8a9 /cmd/.gitignore
parent8f87971e1fd11e3bca034dff2cbc0e884381c350 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #616
Diffstat (limited to 'cmd/.gitignore')
0 files changed, 0 insertions, 0 deletions