Multithreading & MailSite

Document ID: 10235

Synopsis

MailSite software takes advantage of multithreading and multiprocessing capable hardware and software systems. Rather then having a system that handles each thread (request) separately, i

More Information

Multithreading & MailSite MailSite software takes advantage of multithreading and multiprocessing capable hardware and software systems. Rather then having a system that handles each thread (request) separately, it is more efficient to group requests and process them via multithreading. The more threads that are requested the more multithreading will be utilized and improve performance. The code in MailSite takes advantage of multithreading environments to optimize performance and efficiency. To view multiple threads created by MailSite: 1. Launch Windows TaskManager 2. Go to the processes tab 3. Select view from the top menu 4. From the view menu chose select columns... 5. Checkmark the thread count box 6. A column appears on the TaskManager called 'threads' 7. Services from MailSite will be displayed with their thread counts ...a. Pop3a.exe ...b. SMTPDA.exe ...c. SMTPRA.exe ...d. scanningprocess.exe (Kaspersky) ...f. Etc.

Definition of Multithreading : It is easy to confuse multithreading with multitasking or multiprogramming, which are somewhat different ideas.

Multithreading is the ability of a program or an operating system process to manage its use by more than one user at a time and to even manage multiple requests by the same user without having to have multiple copies of the programming running in the computer.

Each user request for a program or system service (and here a user can also be another program) is kept track of as a thread with a separate identity. As programs work on behalf of the initial request for that thread and are interrupted by other requests, the status of work on behalf of that thread is kept track of until the work is completed.

Resources:
http://whatis.techtarget.com/ (note: search on multithreading)

Related Topics:
Document # 10236 - Multiprocessing & MailSite