Hi,
I am using Mutex for getting single threaded environment.
Now i want something that when another request 'll be greated and performing same operation then first (browser's) request will be served and others will be in wait.
Now what i want to do ?
i just want to generate a message for other request that "Please hold on while first request is being server."
See my tried code please.
private static Mutex mut = new Mutex();
mut.WaitOne();
DoWork();
Thread.Sleep(500);
mut.ReleaseMutex();
Go to the complete details ...