Skip to content

Commit 933e4d1

Browse files
committed
Update
1 parent 8fba348 commit 933e4d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/basic/syncs/mutex_trylock.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import (
1313
//
1414
// > (TryLockはmをロックしようとし、成功したかどうかを報告します。)
1515
//
16+
// mutex.TryLock() は、ロック取得をノンブロッキングにしたい場合に利用できます。
17+
//
1618
// # REFERENCES
1719
//
1820
// - https://pkg.go.dev/sync@go1.22.1#Mutex.TryLock

0 commit comments

Comments
 (0)