Skip to content

shanielh/Unmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unmonitor

A simple way to exit a monitor lock within a block.

Usage

lock(lockObject) 
{
  // I'm within the lock..
  
  lock (Unmonitor.Create(lockObject))
  {
      // I'm outside the lock..
  }

  // I'm back to lock!
}

About

A simple way to exit a monitor lock within a block.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages