mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
sync: fix documentation for new_spin_lock function (#24795)
This commit is contained in:
parent
cf698066db
commit
3d320afa65
@ -27,7 +27,7 @@ mut:
|
||||
padding [63]u8 // Cache line padding (fills to 64 bytes total)
|
||||
}
|
||||
|
||||
// new_spin_lock creates and returns a new SpinLock instance initialized to unlocked state
|
||||
// new_spin_lock creates and returns a new SpinLock instance initialized to unlocked state.
|
||||
pub fn new_spin_lock() &SpinLock {
|
||||
mut the_lock := &SpinLock{
|
||||
locked: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user