Skip to content

Commit

Permalink
fix(doc): Add note on the BipartiteBuf WriteAcquire() return
Browse files Browse the repository at this point in the history
  • Loading branch information
DNedic committed Dec 6, 2023
1 parent e928821 commit 970bdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lockfree/spsc/bipartite_buf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ template <typename T, size_t size> class BipartiteBuf {
* @brief Acquires a linear region in the bipartite buffer for writing
* Should only be called from the producer thread.
* @param[in] Free linear space in the buffer required
* @retval Pointer to the beginning of the linear space
* @retval Pointer to the beginning of the linear space, nullptr if no space
*/
T *WriteAcquire(size_t free_required);

Expand Down

0 comments on commit 970bdc1

Please sign in to comment.