ThreadSafetyLevel¶
Namespace: ThinkGeo.Core
Indicates whether a layer implementation is safe to access from multiple threads.
public enum ThreadSafetyLevel
Inheritance object → ValueType → Enum → ThreadSafetyLevel
Implements IComparable, IConvertible, IFormattable
Remarks:
Superseded by ConcurrentAccess, which answers this and one thing more: when two threads may not read at once, whether a copy per worker is a cheap way to get concurrency anyway, or whether callers should take turns. That second half used to be guessed differently by every caller that needed it.
Fields¶
| Name | Value | Description |
|---|---|---|
| Unsafe | 0 | Calls must be marshaled to a single thread. |
| Safe | 1 | The layer can be used concurrently from multiple threads. |