issues
search
hnes
/
libaco
A blazing fast and lightweight C asymmetric coroutine library 💎 ⛅🚀⛅🌞
https://libaco.org
Apache License 2.0
3.51k
stars
391
forks
source link
which one better to pass argument to co function
#43
Closed
ReiiSky
closed
2 years ago
ReiiSky
commented
4 years ago
pass through "void* arg" to aco_create function or
create global variable that store every void* arg to specified function so the co function could call the argument from global variable (or global heap maybe?)