Getting started with NIO

The new input/output (NIO) library was introduced with JDK 1.4. Picking up where original I/O leaves off, NIO provides high-speed, block-oriented I/O in standard Java code. By defining classes to hold data, and by processing that data in blocks, NIO takes advantage of low-level optimizations in a way that the original I/O package could not, without using native code.
Read more

dotNet Threading, Part II Intermediate Level

dotNet Threading, Part II Intermediate LevelThis article is written for the intermediate and senior C# developer. Working knowledge of the C# programming language and dotNet framework is assumed. The article was written with a Beta version of VS.NET and associated documentation. Changes, although not anticipated, might occur before final release of VS.NET that invalidate portions of this article. In the first article, I discussed how to create threads, thread pools and some of the synchronization objects available in the System.Threading dotNet namespace. In this second article, I will complete my discussion of the synchronization objects and will discuss thread local storage, COM interoperability and thread states.
Read more