返回 DeepSeek-Reasonix
context_deadline.go
根目录 / internal / sessiontemp / context_deadline.go
1 package sessiontemp
2
3 import "context"
4
5 // nilContext returns a non-nil background context for lock acquisition that
6 // waits indefinitely. Owner locks for live generations must not time out while
7 // the process holds them; stale cleanup uses TryAcquire instead.
8 func nilContext() context.Context {
9 return context.Background()
10 }
11
11 lines GO