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

Function rte_seqlock_read_retry

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

* End a read-side critical section. * * See rte_seqcount_read_retry() for details. * * @param seqlock * A pointer to the seqlock. * @param begin_sn * The seqlock sequence number returned by rte_seqlock_read_begin(). * @return * true or false, if the just-read seqlock-protected data was * inconsistent or consistent, respectively, at the time it was * read. * * @see rte_seqloc

Source from the content-addressed store, hash-verified

165 * @see rte_seqlock_read_begin()
166 */
167static inline bool
168rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn)
169{
170 return rte_seqcount_read_retry(&seqlock->count, begin_sn);
171}
172
173/**
174 * Begin a write-side critical section.

Callers 1

reader_runFunction · 0.85

Calls 1

rte_seqcount_read_retryFunction · 0.85

Tested by 1

reader_runFunction · 0.68