Skip to content

Commit df9aee5

Browse files
authored
Update README.md
Added link to online compiler to run the example.
1 parent 751b86c commit df9aee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Note: If there is no need to split the read or write operation into two chunks,
6666
> Please refer to the "[Examples](examples/README.md)" section to explore more API options, including the
6767
> new [Range-Based API](examples/README.md#4-range-based-api-stdranges), which completely abstracs away the two-block nature of the circular buffer.
6868
69-
Here is a complete, minimal example demonstrating the recommended batch-oriented usage. A producer thread sends several small batches of integers, and a consumer thread reads them as they become available.
69+
Here is a complete, minimal example demonstrating the recommended batch-oriented usage. A producer thread sends several small batches of integers, and a consumer thread reads them as they become available ([Run](https://godbolt.org/z/zGKdaYroc)):
7070

7171
```cpp
7272
#include "LockFreeSpscQueue.h"

0 commit comments

Comments
 (0)