|sbSimpleAutoLock (PRLock *aLock)|
This class can be used for stack-based locking when the overhead of the nsAutoLock deadlock detection is too great (e.g. for classes that have many instances created and deleted in rapid succession).
If you don't expect to have hundreds of instances running around then please favor nsAutoLock over this in order to take advantage of deadlock detection.
DON'T use this class with locks created with nsAutoLock::NewLock!