acl_fiber_signum issue
pengwang7 opened this issue · 1 comments
pengwang7 commented
/**
* Get the signal number got from other fiber
* @param fiber {ACL_FIBER*} the specified fiber, if NULL the current running
* @retur {int} the signal number got
*/
int acl_fiber_signum(ACL_FIBER *fiber)
{
if (fiber) {
fiber = acl_fiber_running();
}
return fiber ? fiber->signum : 0;
}
根据注释,应该是 fiber 为 NULL的情况下,才获取当前正在运行的fiber
zhengshuxin commented
是的,问题已修复,谢谢指出此问题。
---zsx