FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php daemon
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php daemon [message #179649 is a reply to message #179640] Thu, 15 November 2012 16:20 Go to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <k82rn7$fgl$1(at)dont-email(dot)me>,
Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:

> On 11/15/2012 8:08 AM, Goran wrote:
>> On 14.11.2012 11:51, Jerry Stuckle wrote:
>>> You're the one who claimed life's a kludge, so yours must be. Mine isn't.
>>
>> As I can see, you tend to overcomplicate things, that's why I believe
>> your life is a mess.
>>
>
> Nope, you're the one who had to put together a kludge instead of using a
> more appropriate language.
>
>>> Yes, it is a common pattern for people who don't know better.
>>
>> Maybe it's time for you to start defining what's wrong with my example
>> (after so much bs talk). Define kludge.
>>
>
> You have to keep stopping and starting it, for one thing. And in your
> loop you need to sleep() for a while.

I haven't looked into whether PHP offers any such facilities, but what
should really be happening is:

wait ();

where the wait is exited if an event occurs. It would require the
capability to declare something to be an event and to queue a work item
when the event occurs, etc etc.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Benefits of the 3-Tier Architecture
Next Topic: Bad database design can cause unnecessary coding
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 02:24:59 GMT 2024

Total time taken to generate the page: 0.04411 seconds