Boost logo

Boost :

Subject: [boost] Is there any interest in a library for application : Boost.Application, new version: Boost.Application_beta_3a_release_2
From: Renato Forti (re.tf_at_[hidden])
Date: 2013-09-21 10:07:11


Thanks for comments!

>> 1) daemon some time allow -F/--foreground options to disallow fork() ,
how to achieve that in boostapp ?

We have no way to do this, in server application type, but you can have,
both types, and choose what execute, e.g.:
http://www.dokfile.com/appbeta3/docs/libs/application/example/multi_applicat
ion.cpp

>> 2) is setup() guaranteed to be called? I think installed win32 service
will not have any chance to run setup()

If you define setup handler on functor class, setup() always will be called.

>> 3) even setup() return 1, the main functor is called anyway, under Linux.
is that intentional or just a bug?

It's a bug, thank you for find it, I'll fix

Thanks

> Hi all,
>
> The docs and lib are updated!
>
> Please, send your comments.
>
> http://www.dokfile.com/appbeta3/docs/libs/application/doc/html/index.h
> tml

looks good. used that for a while.

just some comments:

1) daemon some time allow -F/--foreground options to disallow fork() , how
to achieve that in boostapp ?

2) is setup() guaranteed to be called? I think installed win32 service will
not have any chance to run setup()

3) even setup() return 1, the main functor is called anyway, under Linux. is
that intentional or just a bug?

>
> PS: I want to take and ask for help, if any native english speaker can
> help me with the documentation! Please, contact: re.tf <at> acm.org
>
> Thanks
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk