Subject | RE: [firebird-php] PHP-CLI and event handling |
---|---|
Author | Alan McDonald |
Post date | 2005-08-10T22:54:27Z |
> I wasn't clear. There is only one thread, as I assume theok so why do you need events instead of the just recognising that the
> registered event handler will execute in the original thread.
>
process has finished?
Alan
>
> > We need to handle events from scripts running on Linux and Windows
> > servers. After a brief search we've decided that the best support is
> > offered by PHP (as an aside, does anyone know of a Firebird module for
> > Perl?).
> > Having never developed in PHP, is there any advice or tips anyone
> > wants to offer?
> >
> > The basic script would be started by cron, register an event handler,
> > and then wait until the handler executed and notified the main thread
> > it was done, or the main thread reached a timeout threshold,
> > deregistered the event handler and exited.
> >
> > I also want to make sure we're running a minimum install of PHP, as it
> > won't be used for HTTP traffic.
> >
> > Thanks, Rick DeBay
>
> where's the main thread? in some other application? or another
> thread of the PHP script? dunno about threading php Alan
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> <font face=arial size=-1><a
> href="http://us.ard.yahoo.com/SIG=12h105l2q/M=362131.6882499.78252
> 60.1510227/D=groups/S=1705007183:TM/Y=YAHOO/EXP=1123656897/A=28891
> 91/R=0/SIG=10r90krvo/*http://www.thebeehive.org
> ">Get Bzzzy! (real tools to help you find a job) Welcome to the
> Sweet Life - brought to you by One Economy</a>.</font>
> --------------------------------------------------------------------~->
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>