Skip to content

Commit 2826c0a

Browse files
authored
Update README.md
1 parent 0beb26e commit 2826c0a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ void low_level_batch_producer(LockFreeSpscQueue<Message>& queue,
183183
}
184184
```
185185
186+
Note: This low-level example performs a single write attempt. In a real-world scenario, you would typically place this logic inside a loop (similar to the try_write example) to handle cases where the queue is initially full and to ensure all data is eventually sent.
187+
186188
---
187189
188190
## 3. Reading from the Queue (Consumer)

0 commit comments

Comments
 (0)