Click here to Skip to main content
15,914,895 members
Articles / Programming Languages / C#

Avoiding Deadlocks with System.IO.Stream BeginRead/BeginWrite

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
10 Apr 2013CPOL4 min read 24.6K   10  
Using System.IO.Stream default implementation of BeginRead() and BeginWrite() may result in unexpected deadlocks.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer
Germany Germany
My career spans over 15 years in Automotive, Automation and Embedded technologies, from Windows, Solaris and Linux. I first learnt assembly, followed by Basic and C and have been busy with C# for the last 5 years. Software programming is now my hobby as during the day I now lead a team of 10 people and work closely with other teams around Europe, specifying requirements and software architecture.

Comments and Discussions