]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
seqc: add seqc_read_notmodify
authorMateusz Guzik <mjg@FreeBSD.org>
Wed, 6 Jan 2021 06:11:15 +0000 (07:11 +0100)
committerMateusz Guzik <mjg@FreeBSD.org>
Wed, 6 Jan 2021 07:28:06 +0000 (07:28 +0000)
commit65f775157e0d239f311e912086600f620d0c15cf
treea22dbc4767e091979d38fd90c92e2cf21666095d
parent71a6a0b5452d7e7e2ca5fc15680cfc70f72eeb1b
seqc: add seqc_read_notmodify

The routine can be used when the caller does not expect to ever have to
wait for anything. Checking later with seqc_consistent retains all the
guarantees.
sys/sys/seqc.h