>>>>> "Anton" == Anton Berezin <[EMAIL PROTECTED]> writes:
[...]
Anton> There should be some kind of canonical (for POE) way of
Anton> just sitting there doing nothing waiting for signals.
If you set an alias for the session it'll remain until the
alias is removed. In what I've been doing I usually have a `main'
session that's _signal state sends shutdown events to all the child
sessions and itself (and its shutdown state removes the alias).
[...]
Anton> And the reason to have a preforked server for me is that
Anton> another truly asynchronous POE process talks to this
Anton> server, but the server needs to do blocking calls (DBI).
Anton> So in order to get a desired degree of concurrency I use
Anton> pre-forking. Strictly speaking, this server is probably
I've done exactly the same thing for the same reason (needing
to do DBI calls so I start a couple of helpers with POE::Wheel::Run).
/me wonders if any of the `popular' database APIs provide a way to
make calls asynchronously, and if there might not be a way to get DBDs
to sit on top of those. POE::Component::DBI would truly be most
useful.
--
Fletch | "If you find my answers frightening, __`'/|
[EMAIL PROTECTED] | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U