Sytze de Boer wrote:
> I've been wondering about multi-threading
> I don't know if I completely understand this process and I wonder if
> someone here can throw some light on this
>
> In my app, there is 1 module where people have to wait from 5 to 15 secs
> for the system to complete a process
> (emailing a statement or invoice or quote)
> i.e. it has to select the information, create a pdf and email it, using CDO
> via a Gmail account
>
> Is this a process that I could divert to a second "thread" so my app can
> carry on with what ever happens after the "slow" process ?
> Is that what multi-threading is about ?
>
>   
Hi Sytze,

Instead of multi threading a different option could be to have a 
different app running in the background or on another machine that does 
all the processing for you.  Your main app puts an entry in a queue and 
the back office app does the select, creates the pdf and email and sends 
it.  We do that here and it works great.  Reports that take a while to 
run get processed in the background and don't hold the user up at all.  
There are lots of advantages to doing it that way.

Peter



----------------------------------------------------------------



Rajan Imports has changed - we are now Whispering Smith Ltd.  For more 
information see our website at www.whisperingsmith.com


Please update your address book with my new email address: 
[email protected]

.

This communication is intended for the person or organisation to whom it is 
addressed.  The contents are confidential and may be protected in law.  
Unauthorised use, copying or 
disclosure of any of it may be unlawful.  If you have received this message in 
error, please notify us immediately by telephone or email.

www.whisperingsmith.com

Whispering Smith Ltd
Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 
Fax:0161 831 3715
London Office:17-19 Foley Street, London  W1W 6DW Tel:0207 299 7960


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to