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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user