You need to execute this in another tread, you can use Ajax for that.

All the project is executed in the same unique tread, and the execution is
serialized.

I hope this help.



On Mon, Oct 27, 2008 at 12:36 PM, Matias <[EMAIL PROTECTED]> wrote:

>
> Hi there!
> I have a problem and maybe you guys could help me to resolve it…
> if i have this function:
>
> public function executeSleep()
> {
> sleep(10);
> }
>
> and if i run this function, i can't run another function in the same
> project untill this 10 seconds are finished…
>
> Obviously, I don't need a sleep(10) in my code, but I have some long
> process in one of my functions…
>
> I Hope you can help me… thank you veeery much!
>
> >
>


-- 
Lionel Medori

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to