queue: add comment
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
parent
43ea14e263
commit
79b48e4dea
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue