Groups
Groups
Sign in
Groups
Groups
Erlang China
Conversations
About
Send feedback
Help
回复:gen_server互call回出现死锁吗?
16 views
Skip to first unread message
一平1
unread,
Jan 29, 2013, 2:38:49 AM
1/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to erlang...@googlegroups.com
不会,,
------------------
一平
------------------ 原始邮件 ------------------
发件人:
"卓 一抗"
;
发送时间:
2013年1月29日(星期二) 下午3:37
收件人:
"
erlang...@googlegroups.com
"
;
主题:
gen_server互call回出现死锁吗?
HI, 大家好,问个问题:两个进程同时发出call对方的请求,会死锁吗?
--
您收到此邮件是因为您订阅了 Google 网上论坛的“Erlang China”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到
erlang-china+unsubscribe@googlegroups.com
。
要查看更多选项,请访问
https://groups.google.com/groups/opt_out
。
卓 一抗
unread,
Jan 29, 2013, 4:06:09 AM
1/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to erlang...@googlegroups.com, 一平1
为什么呢?不会出现 A进程 对B发出call请求, 同时B进程对A发出call请求,出现死锁?
Rico Wang
unread,
Jan 29, 2013, 4:10:47 AM
1/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to erlang...@googlegroups.com
Call 是要在一定时间内返回结果的,长时间阻塞,会被干掉。
Sent from my BlackBerry
--
您收到此邮件是因为您订阅了 Google 网上论坛的“Erlang China”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到
erlang-china...@googlegroups.com
。
要查看更多选项,请访问
https://groups.google.com/groups/opt_out
。
卓 一抗
unread,
Jan 29, 2013, 4:13:10 AM
1/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to erlang...@googlegroups.com
我感觉这种互call是会发生死锁的,当然有超时可以避免。
Reply all
Reply to author
Forward
0 new messages