1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sync: rename m_lock() -> @lock(), r_lock() -> @rlock(), ... (#8443)

This commit is contained in:
Uwe Krüger
2021-01-30 15:23:55 +01:00
committed by GitHub
parent 8dff63b824
commit 058f3ba013
7 changed files with 32 additions and 32 deletions

View File

@@ -30,7 +30,7 @@ pub fn new_waitgroup() &WaitGroup {
// add panics if task count drops below zero.
pub fn (mut wg WaitGroup) add(delta int) {
// protect task_count
wg.task_count_mutex.m_lock()
wg.task_count_mutex.@lock()
defer {
wg.task_count_mutex.unlock()
}