[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Tue Nov 30 2010 at 15:56:26 +0100, haad wrote:
> On Tue, Nov 30, 2010 at 3:23 PM, Antti Kantee <pooka%netbsd.org@localhost>
> > Module Name: src
> > Committed By: pooka
> > Date: Tue Nov 30 14:23:24 UTC 2010
> > Modified Files:
> > src/lib/librumpuser: Makefile
> > src/sys/rump/include/rump: rump.h rumpuser.h
> > src/sys/rump/librump/rumpkern: rump.c
> > Added Files:
> > src/lib/librumpuser: rumpuser_daemonize.c
> > Log Message:
> > Require server to be explicitly initialized with rump_init_server(url).
> > Also, add rump_daemonize_begin() / rump_daemonize_end() to help
> > with the "can't daemon() after pthread_create()" problem. Applications
> > could accomplish the same, but since it's such a common operation,
> > provide a little help.
> Can you show some small example how rump server should look like now ?
> Just replace rump_init with rump_init_server ? and RUMP_SP_PATH is in url
I'll add some tests/documentation soon when I consider things to be
Meanwhile, you can look at tests/dev/md/h_mdserv.c for a real example.
The simplest possible one is something like this:
And then run it "./a.out unix://rumpsock &"
Main Index |
Thread Index |