#216·libco

如何为一个调用 gethostbyname 的协程设置超时时间?

作者: ralgond创建于 2024年10月12日更新于 2024年10月12日

routine 函数调用了 gethostbyname,但没有找到为该协程设置超时时间的方法,请问我该如何处理?