This chapter started you off with an introduction to the Thread class and the basic concepts behind multithreaded programming and how the various Windows operating systems use pre-emptive multitasking. Building on this knowledge, this chapter covered the core issues surrounding multithreaded programming: synchronization and thread-safe data. You saw how to use the lock keyword, the Monitor class, and the Mutex class to provide thread safety for your processes. Finally, this chapter examined the thread pool as a simplified way of queuing work items.

    Visual C#. NET 2003 Unleashed
    Visual C#. NET 2003 Unleashed
    ISBN: 672326760
    EAN: N/A
    Year: 2003
    Pages: 316 © 2008-2017.
    If you may any questions please contact us: