MCPcopy Create free account
hub / github.com/F-Stack/f-stack / seqc_sleepable_write_begin

Function seqc_sleepable_write_begin

freebsd/sys/seqc.h:124–131  ·  view source on GitHub ↗

* Variant which does not critical enter/exit. */

Source from the content-addressed store, hash-verified

122 * Variant which does not critical enter/exit.
123 */
124static __inline void
125seqc_sleepable_write_begin(seqc_t *seqcp)
126{
127
128 MPASS(!seqc_in_modify(*seqcp));
129 *seqcp += 1;
130 atomic_thread_fence_rel();
131}
132
133static __inline void
134seqc_sleepable_write_end(seqc_t *seqcp)

Callers 1

Calls 1

atomic_thread_fence_relFunction · 0.50

Tested by

no test coverage detected