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;">
>>><br>>On Mar 18, 2007, at 7:28 PM, liusifan wrote:<br>><br>>> I have not found something like ACE_TP_Reactor::dispatch_i in<br>>> libevent.<br>>> So i think it could not implement LF pattern with current version
<br>>> of libevent.<br>>><br>>> Did i miss something? Thanks in advance.<br>><br>>I think you could always do it by doing your own queueing after<br>>libevent's. I'm not sure how large the performance impact would be.
<br>><br>>That was an interesting paper, by the way. I've been thinking of<br>>implementing something like it, and it's nice to know the name<br>>someone's given to it.<br>><br>>--<br>>Scott Lamb <
<a href="http://www.slamb.org/">http://www.slamb.org/</a>><br>><br>><br>><br><br><br></blockquote></div><br>