| description | Description of 'spinlock_unlock' function in HyperDbg Scripts |
|---|
spinlock_unlock
spinlock_unlock( GlobalVariable );
[GlobalVariable (Lock)]
A global variable, used as a [lock](https://en.wikipedia.org/wiki/Spinlock). The lock can be locked by [spinlock\_lock](https://docs.hyperdbg.com/commands/scripting-language/functions/spinlocks/spinlock_lock).
Unlocks the spinlock referred to by lock.
None
spinlock_unlock(.my_lock_var);
unlocks the spinlock of a global variable (lock) called .my_lock_var.
None