Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/share/man/man9



Module Name:    src
Committed By:   riastradh
Date:           Sun May  3 04:05:00 UTC 2020

Modified Files:
        src/share/man/man9: condvar.9

Log Message:
Simplify example of cv_timedwaitbt.

It is simpler if there is only one place we check the condition.

That said, there are cases where the caller needs to re-check before
choosing to fail (e.g., futex_wait in kern/sys_futex.c, which must
verify the condition before taking destructive steps to abort the
wait).  But it's not clear that that's the norm.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man9/condvar.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index