Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
How to: Synchronize a Producer and a Consumer Thread (C#)

Full Name:
How to: Synchronize a Producer and a Consumer Thread (C#)

Short Name:
How to: Synchronize a Producer and a Consumer Thread (C#)

Type of Entity:
C#

Abstract:
The following example demonstrates thread synchronization between the primary thread and two worker threads using the lock keyword, and the AutoResetEvent and ManualResetEvent classes. For more information, see lock Statement (C# Reference).

MSDN Source URL:
http://msdn2.microsoft.com/yy12yx1f.aspx

 
COPYRIGHT/DISCLAIMER | CONTACT US