This is not a new topic. But interestingly I could not find a good example on the web while I wanted to find one for some other investigation. So I decided to create a sample here to show the following scenario:A WCF service has the access to a ASP.NET session. Different WCF client proxies can conne Read More
posted @ 2012-02-20 14:07
庚武
Views(328)
Comments(0)
Diggs(0)
using System;using System.Threading;namespace InterlockedExchange_Example{ class MyInterlockedExchangeExampleClass { //0 for false, 1 for true. private static int usingResource = 0; private const int numThreadIterations = 5; private const int numThreads = 10; ... Read More
posted @ 2012-02-20 11:06
庚武
Views(442)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号