Here's one situation: an A4D page which calls a rather long native 4D method is executed (this method does not contain any plugin calls - in fact, in one of my test cases, it was as simple as just looping for 20 seconds). This method takes ~20 seconds to execute, during which time no
other connections to the server can be made.

Unfortunately this seems to be a problem with 4D. It appears that 4D is not handling any web requests while the method is running. Once I pass control to 4D to run the method, it is out of my hands.

Have you tried to call idle often in the loop of the 4D method, because loops may be optimized, so that if you not call idle the control will not be given to other processes, until the loop is finished.

The problem exists even in interpreted mode, even with IDLE calls.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to