- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RUnlockHandler (0.12 sec)
-
cmd/lock-rest-server.go
success, err := l.ll.RLock(context.Background(), *args) if err == nil && !success { err = errLockConflict } return l.makeResp(resp, err) } // RUnlockHandler - releases the acquired read lock. func (l *lockRESTServer) RUnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) { resp := lockRPCRUnlock.NewResponse() // Ignore the RUnlock() "reply" return value because if err == nil, "reply" is always true.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
if err != nil { lh.writeErrorResponse(w, err) return } _, err = lh.lsrv.Unlock(&args) if err != nil { lh.writeErrorResponse(w, err) return } } func (lh *lockServerHandler) RUnlockHandler(w http.ResponseWriter, r *http.Request) { args, err := getLockArgs(r) if err != nil { lh.writeErrorResponse(w, err) return } _, err = lh.lsrv.RUnlock(&args) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0)