Hi, Scott Lamb<br><br>This article describes the way like you mentioned.<br><br>5. Asynchronous results and collections of results<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://terabit.com.au/docs/Proactor2.htm#_Toc76398966" target="_blank">
http://terabit.com.au/docs/Proactor2.htm#_Toc76398966</a><br><br>I follow this article to develope an Leader/Follower thread pool<br>server based on libevent. Following is the source code:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://spserver.googlecode.com/files/spserver-0.6.src.tar.gz" target="_blank">
http://spserver.googlecode.com/files/spserver-0.6.src.tar.gz</a><br><br><br>Best regards£¬<br><br>liusifan<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;&gt;&gt;<br>&gt;On Mar 18, 2007, at 7:28 PM, liusifan wrote:<br>&gt;<br>&gt;&gt; I have not found something like ACE_TP_Reactor::dispatch_i in<br>&gt;&gt; libevent.<br>&gt;&gt; So i think it could not implement LF pattern with current version
<br>&gt;&gt; of libevent.<br>&gt;&gt;<br>&gt;&gt; Did i miss something? Thanks in advance.<br>&gt;<br>&gt;I think you could always do it by doing your own queueing after<br>&gt;libevent&#39;s. I&#39;m not sure how large the performance impact would be.
<br>&gt;<br>&gt;That was an interesting paper, by the way. I&#39;ve been thinking of<br>&gt;implementing something like it, and it&#39;s nice to know the name<br>&gt;someone&#39;s given to it.<br>&gt;<br>&gt;--<br>&gt;Scott Lamb &lt;
<a href="http://www.slamb.org/">http://www.slamb.org/</a>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br><br></blockquote></div><br>