* 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
| 165 | * @see rte_seqlock_read_begin() |
| 166 | */ |
| 167 | static inline bool |
| 168 | rte_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. |