CSCE 547 Windows Programming Multi-Threading
Short Description
Multi Threading
Multithreading is a mechanism for performing two or more tasks concurrently
In Multiple CPU systems threads could be allocated to CPUs, using SMP (Symmetric Multi-Processing) Single CPU or Multiple CPUs
In Single CPU each thread is given (approx) equal fractions of CPU time
Multi thread programming is difficult when threads must be synchronized with respect to certain resources
Website: docs.msdnaa.net | Filesize: 506kb
No of Page(s): 23
Content
…Threads
A thread is a unit of execution to which the OS allocates CPU time.
A process can have more than one thread.
The .NET framework further divides OS processes into lightweight, managed sub processes (application domains) and unmanaged processes.
Code in application domains may create additional application domains and additional threads.
Each thread maintains its own exception handlers, scheduling priority, and set of data structures to save the thread’s execution context until the thread is re scheduled for execution.
The execution context includes CPU’s register and stack, and the address space of the host process
…
Get the file Download here
Related Books:Related Searches: execution context, thread programming, cpu systems, application domains, multi thread
Comments
Leave a Reply