Results 1 to 2 of 2

Thread: Help me to Know about this Method

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    75

    Help me to Know about this Method

    What is the method monitor.enter method used for in ASP.NET. If someone could explain this with a example it would be very helpful.


  2. #2
    Contributing Member
    Join Date
    Jul 2006
    Answers
    93

    Re: Help me to Know about this Method

    Monitors provide the most fundamental synchronization technique in the .NET
    Framework.Monitor.Enter is called to acquire an exclusive lock on an object. Each call to Monitor.Enter should be complemented with a call to Monitor.Exit to release the lock.The idea is that only one thread can be "inside" the monitor at any one time.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact