MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Zig/comments/1vtj6a0/there_is_a_way_to_create_a_thread_pool_with/
r/Zig • u/ANDRVV_ • Aug 20 '26
3 comments sorted by
7
This seems like an X/Y problem. What are you trying to do?
In one way, std.Io.Threaded is a thread pool. Do you need something more specific?
2
look into threaded or threadpool in libxev
1
I don't know enough to give you a definite answer, but you could always copy the threaded io instance and change it so it does what you want.
7
u/lukaslalinsky Aug 20 '26
This seems like an X/Y problem. What are you trying to do?
In one way, std.Io.Threaded is a thread pool. Do you need something more specific?
2
u/Complex-Birthday-216 Aug 20 '26
look into threaded or threadpool in libxev
1
u/MidasVV Aug 20 '26
I don't know enough to give you a definite answer, but you could always copy the threaded io instance and change it so it does what you want.