Add comments to procedure groups
This commit is contained in:
1 parent
fc3b0dcc80
commit
3337d38651
2 files changed
+19
-1
No files matched your search
@@ -24,7 +24,7 @@ mutex_unlock :: proc(m: ^Mutex) {
|
||||
_mutex_unlock(m)
|
||||
}
|
||||
|
||||
// mutex_lock tries to lock m, will return true on success, and false on failure
|
||||
// mutex_try_lock tries to lock m, will return true on success, and false on failure
|
||||
mutex_try_lock :: proc(m: ^Mutex) -> bool {
|
||||
return _mutex_try_lock(m)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user