Skip to content

Commit

Permalink
Modify comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengshuxin committed Nov 2, 2023
1 parent c88263f commit cb514a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib_fiber/cpp/include/fiber/fiber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class FIBER_CPP_API fiber {

/**
* 在本协程运行时调用此函数通知该协程退出
* @param sync {bool} 是否采用同步方式,即等待被kill协程后本协程才返回
* @param sync {bool} 是否采用同步方式,即是否等待被 kill 协程返回后
* 本协程才返回
* @return {bool} 返回 false 表示本协程未启动或已经退出
*/
bool kill(bool sync = false);
Expand Down

0 comments on commit cb514a8

Please sign in to comment.