queue: add comment

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
Tim Culverhouse 2024-01-19 12:28:48 -06:00
parent 43ea14e263
commit 79b48e4dea

View file

@ -5,6 +5,7 @@ const Futex = std.Thread.Futex;
const log = std.log.scoped(.queue); const log = std.log.scoped(.queue);
/// Thread safe. Fixed size. Blocking push and pop.
pub fn Queue( pub fn Queue(
comptime T: type, comptime T: type,
comptime size: usize, comptime size: usize,