all code contributed by @steeve * add intrusive queue * change the constructor of Channel with default AsyncThread executor --------- Co-authored-by: Steeve Morin <steeve@zml.ai>
18 lines
339 B
Python
18 lines
339 B
Python
load("@rules_zig//zig:defs.bzl", "zig_library")
|
|
|
|
zig_library(
|
|
name = "async",
|
|
srcs = [
|
|
"queue.zig",
|
|
"queue_mpsc.zig",
|
|
],
|
|
import_name = "async",
|
|
main = "zigcoro.zig",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//stdx",
|
|
"@libxev//:xev",
|
|
"@zigcoro//:libcoro",
|
|
],
|
|
)
|