On Wed, Mar 14, 2007 at 07:30:17PM -0700, William Ahern wrote:
> On Thu, Mar 15, 2007 at 09:34:31AM +0800, liusifan wrote:
> > Hi, all
> > 
> > SPServer is a server framework library written on C++ that implements the 
> > Half-Sync/Half-Async pattern ( 
> > http://www.cs.wustl.edu/~schmidt/PDF/HS-HA.pdf ). It's based on libevent in 
> > order to utilize the best I/O loop on any platform.
> > 
> > SPServer can simplify TCP server construction. It is a hybrid system 
> > between threaded and event-driven, and exploits the advantages of both 
> > programming models. It exposes a threaded programming style to programmers, 
> > while simultaneously using event-driven style to process network connection.
> > 
> > You can get the code from the SPServer home page:
> > http://code.google.com/p/spserver/
> > http://spserver.googlecode.com/files/spserver-0.1.src.tar.gz
> > 
> 
> How is this different from GNU Pthreads?
> 

RTFM ;)

Seems like a lot of description for, what seems to me, is equivalent to this
construct in my library:

        thread_run(&fn_to_run, fn_arg, &fn_callback, cb_context);

Where fn_to_run() is called in a thread, and fn_callback() receives the return
value of the function.

_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to