This website works better with JavaScript.
首頁
探索
說明
註冊
登入
SisMaker
/
eGbh
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
Projects
0
版本發佈
1
Wiki
Activity
瀏覽代碼
取消定时器修改
master
AICells
5 年之前
父節點
7b45e05f39
當前提交
bd88d166d6
共有
1 個文件被更改
,包括
3 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/gen_ipc.erl
+ 3
- 1
src/gen_ipc.erl
查看文件
@ -1810,9 +1810,11 @@ cancelTimer(TimeoutType, TimerRef, Timers) ->
false
-
>
%% 找不到计时器,我们还没有看到超时消息
receive
{
TimeoutType
,
TimerRef
,
_
Msg
}
-
>
{
timeout
,
TimerRef
,
TimeoutType
}
-
>
%% 丢弃该超时消息
ok
after
0
-
>
ok
end
;
_
-
>
%% Timer 已经运行了
Write
Preview
Loading…
取消
儲存