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

Function rte_seqlock_read_begin

dpdk/lib/eal/include/rte_seqlock.h:145–149  ·  view source on GitHub ↗

* Begin a read-side critical section. * * See rte_seqcount_read_retry() for details. * * @param seqlock * A pointer to the seqlock. * @return * The seqlock sequence number for this critical section, to * later be passed to rte_seqlock_read_retry(). * * @see rte_seqlock_read_retry() * @see rte_seqcount_read_retry() */

Source from the content-addressed store, hash-verified

143 * @see rte_seqcount_read_retry()
144 */
145static inline uint32_t
146rte_seqlock_read_begin(const rte_seqlock_t *seqlock)
147{
148 return rte_seqcount_read_begin(&seqlock->count);
149}
150
151/**
152 * End a read-side critical section.

Callers 1

reader_runFunction · 0.85

Calls 1

rte_seqcount_read_beginFunction · 0.85

Tested by 1

reader_runFunction · 0.68