Kevin wrote:
>
> How did you get around the variable duplication?

Variables that can be shared between threads, such as configuration options, 
are marked as :shared

Variables that can't be shared due to references, such as %Con, aren't 
shared, which isn't an issue as all smtp connections run in the main thread 
and access the same unshared %Con. Only the maintenance tasks run in 
separate threads, which previously was one of the main causes of smtp 
processing delays.

I haven't begun to attempt to multi-thread smtp connection handling, but I 
think it would be achievable with a little reworking of how connections are 
stored and referenced.

Have a look: http://cmshome.net/assp/assp-mt.zip



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to