Groups
Sign in
Groups
ace-china
Conversations
About
Send feedback
Help
关于select_reactor中的管道问题
9 views
Skip to first unread message
Alex
unread,
Nov 3, 2008, 9:17:27 AM
11/3/08
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 ace-china
我在mfc下使用ace,想用select_reactor模式,发现只有在关闭notify管道后,才能正常启动。也就是说必须写成
ACE_Select_Reactor select_reactor(1024,0,0,0,1); 如果用默认值的话,执行到ACE_Pipe:
open()方法时就会出错。请问这是什么原因呢?
Stone Jiang
unread,
Nov 3, 2008, 9:21:41 AM
11/3/08
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 ace-...@googlegroups.com
如果代码不含业务领域的东西,请把代码附上看看。
2008/11/3 Alex
<
alexg...@gmail.com
>
Alex
unread,
Nov 4, 2008, 8:57:49 AM
11/4/08
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 ace-china
没有啥代码,因为就只是声明了一个select_reactor而已,在开启管道的情况下,程序表面上不报错,实际上由于管道没有开启成
功,select_reactor已经把自己给关闭了……
On 11月3日, 下午10时21分, "Stone Jiang" <
2005...@gmail.com
> wrote:
> 如果代码不含业务领域的东西,请把代码附上看看。
>
> 2008/11/3 Alex <
alexguo...@gmail.com
>
Stone Jiang
unread,
Nov 4, 2008, 8:35:51 PM
11/4/08
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 ace-...@googlegroups.com
我无法重现你的问题。
如果你觉得可能是一个问题,可以写一个最小的单元测试,进一步缩小问题产生的范围。我们再共同交流。
谢谢。
2008/11/4 Alex
<
alexg...@gmail.com
>
Reply all
Reply to author
Forward
0 new messages