Locks
The Locks category provides status information about the software locks. Typically, you will only need to view the lock status when asked to do so by Schneider Electric engineers—the engineers may use the status information to diagnose performance issues such as latency.
The status information for each lock is categorized as:
- Id—A unique number that ClearSCADA uses to identify the lock.
- Name—The name that has been allocated to the lock. Typically, this indicates the software component to which the lock relates.
- Type—Indicates the type of lock. The lock can be RW (which means there are multiple readers and no writers, or there are no readers and 1 writer) or CS (which means there is 1 reader or writer with exclusive access).
- Status—Indicates whether the lock is active. The status can be:
- Locked
- Unlocked (unlocked is indicated by a - sign)
- Write, Thread <n> (where <n> is the ‘ID’ of the thread with the write lock). The resource is locked for writing.
- Read, Count <n> (where <n> is the number of threads that have the lock). The resource is locked for reading. A resource cannot be written to and read at the same time.
For more information, see Threads.