[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] Multitasking?



I'm in the midst of redesigining our intranet site.  It runs Macperl and
Webstar 4.2.  I have a couple of questions about MacPerl and
multitasking, which will influence the way I write some of the core
modules.

Does MacPerl run more than one script at the same time?

Does MacPerl run more than one instance of the same script at the same
time?

I ask these two questions because if the answer is no to both, it makes
life a lot easier when it comes to record locking and so on.

To explain (in case my questions are a bit vague), imagine you have
three users who request SCRIPT A, SCRIPT B and SCRIPT A at almost the
same time (but the requests come in in that order).  Does MacPerl go:

Time ------>

SCRIPT A
        SCRIPT B
                SCRIPT A

or:

SCRIPT A
SCRIPT B
SCRIPT A

or:

SCRIPT A
SCRIPT B
        SCRIPT A

(I think that explains what I'm trying to ask...)

Steve Criddle




This email and the files sent with it are confidential and for the use of the
intended recipient(s) only.  If you are not the intended recipient(s), please
note that any use, distribution or copying of this communication or the
information in it, is strictly prohibited.  If you have received this
communication in error, please notify the sender or forward this message to
postmaster@saga.co.uk and then destroy the email and any copies of it.  This
communication is from Saga Holidays Ltd whose registered office is The Saga
Building, Enbrook Park, Folkestone, UK CT20 3SE.  Registered number 02174052.

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org