Hi, Scott Lamb This article describes the way like you mentioned.
5. Asynchronous results and collections of results http://terabit.com.au/docs/Proactor2.htm#_Toc76398966 I follow this article to develope an Leader/Follower thread pool server based on libevent. Following is the source code: http://spserver.googlecode.com/files/spserver-0.6.src.tar.gz Best regards, liusifan
>On Mar 18, 2007, at 7:28 PM, liusifan wrote: > >> I have not found something like ACE_TP_Reactor::dispatch_i in >> libevent. >> So i think it could not implement LF pattern with current version >> of libevent. >> >> Did i miss something? Thanks in advance. > >I think you could always do it by doing your own queueing after >libevent's. I'm not sure how large the performance impact would be. > >That was an interesting paper, by the way. I've been thinking of >implementing something like it, and it's nice to know the name >someone's given to it. > >-- >Scott Lamb <http://www.slamb.org/> > > >
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users