Enhanced C#
Language of your choice: library documentation
Public Member Functions | List of all members
Loyc.ConcurrentModificationException Class Reference

An exception thrown when a data structure is accessed (read or written) by one thread at the same time as it is modified on another thread. More...


Source file:
Inheritance diagram for Loyc.ConcurrentModificationException:

Remarks

An exception thrown when a data structure is accessed (read or written) by one thread at the same time as it is modified on another thread.

Note: most data structures do not detect this situation, or do not detect it reliably. For example, the Loyc.Collections.AList<T> family of data structures may or may not detect this situation. If it is detected then this exception is thrown, otherwise the data structure may take on an invalid state, leading to InvalidStateException or other unexpected exceptions.

Public Member Functions

 ConcurrentModificationException (string msg)
 
 ConcurrentModificationException (string msg, Exception innerException)