Skip to content

Instantly share code, notes, and snippets.

@ayende
Created March 4, 2020 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayende/bc8aa217aaa0d76d3717411d99495e1e to your computer and use it in GitHub Desktop.
Save ayende/bc8aa217aaa0d76d3717411d99495e1e to your computer and use it in GitHub Desktop.
public void Add(T item){
lock(m_lock){
_container.Add(item);
Monitor.PulseAll(m_lock);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment