Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 374 for unblock (0.05 sec)

  1. cmd/batch-handlers.go

    		binary.LittleEndian.PutUint16(data[2:4], version)
    
    		buf, err := ri.MarshalMsg(data)
    		ri.mu.Unlock()
    		if err != nil {
    			return err
    		}
    		path, err := ri.getJobReportPath()
    		if err != nil {
    			batchLogIf(ctx, err)
    			return err
    		}
    		return saveConfig(ctx, api, path, buf)
    	}
    	ri.mu.Unlock()
    	return nil
    }
    
    // Note: to be used only with batch jobs that affect multiple versions through
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. prepare_stmt.go

    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.RUnlock()
    			return stmt, stmt.Error()
    		}
    	}
    	db.Mux.RUnlock()
    
    	// retry
    	db.Mux.Lock()
    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.Unlock()
    			return stmt, stmt.Error()
    		}
    	}
    
    	return db.Stmts.New(ctx, query, isTransaction, conn, db.Mux)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    // UnlockHandler - releases the acquired lock.
    func (l *lockRESTServer) UnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCUnlock.NewResponse()
    	_, err := l.ll.Unlock(context.Background(), *args)
    	// Ignore the Unlock() "reply" return value because if err == nil, "reply" is always true
    	// Consequently, if err != nil, reply is always false
    	return l.makeResp(resp, err)
    }
    
    // RLockHandler - Acquires an RLock.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	}
    	c.RLock()
    	defer c.RUnlock()
    	if c.enabled {
    		logger.Info("Cluster replication initialized")
    	}
    	return nil
    }
    
    func (c *SiteReplicationSys) loadFromDisk(ctx context.Context, objAPI ObjectLayer) error {
    	buf, err := readConfig(ctx, objAPI, getSRStateFilePath())
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			c.Lock()
    			defer c.Unlock()
    			c.state = srState{}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Monitor.java

     *       return result;
     *     } finally {
     *       lock.unlock();
     *     }
     *   }
     *
     *   public void set(V newValue) throws InterruptedException {
     *     lock.lock();
     *     try {
     *       while (value != null) {
     *         valueAbsent.await();
     *       }
     *       value = newValue;
     *       valuePresent.signal();
     *     } finally {
     *       lock.unlock();
     *     }
     *   }
     * }
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    				if globalIsDistErasure {
    					globalLocalSetDrives[s.poolIndex][setIndex][diskIndex] = disk
    				}
    				globalLocalDrivesMap[disk.Endpoint().String()] = disk
    				globalLocalDrivesMu.Unlock()
    			}
    			s.erasureDisksMu.Unlock()
    		}(endpoint)
    	}
    
    	wg.Wait()
    }
    
    // monitorAndConnectEndpoints this is a monitoring loop to keep track of disconnected
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        Lock lockB = factory.newReentrantLock(OtherOrder.SECOND);
    
        lockA.lock();
        lockA.lock();
        lockB.lock();
        lockB.lock();
        lockA.unlock();
        lockA.unlock();
        lockB.unlock();
        lockB.unlock();
      }
    
      public void testExplicitOrdering_acquiringMultipleLocksWithSameRank() {
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        Lock lockB = factory.newReentrantLock(OtherOrder.SECOND);
    
        lockA.lock();
        lockA.lock();
        lockB.lock();
        lockB.lock();
        lockA.unlock();
        lockA.unlock();
        lockB.unlock();
        lockB.unlock();
      }
    
      public void testExplicitOrdering_acquiringMultipleLocksWithSameRank() {
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	activeConnections uint64
    	sync.RWMutex
    }
    
    func (n *netPerfRX) Connect() {
    	n.Lock()
    	defer n.Unlock()
    	n.activeConnections++
    	atomic.StoreUint64(&n.RX, 0)
    	n.lastToConnect = time.Now()
    }
    
    func (n *netPerfRX) Disconnect() {
    	n.Lock()
    	defer n.Unlock()
    	n.activeConnections--
    	if n.firstToDisconnect.IsZero() {
    		n.RXSample = atomic.LoadUint64(&n.RX)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    	}
    	lastDriveStatsRefresh = time.Now().UTC()
    	latestDriveStatsMu.Unlock()
    }
    
    // startResourceMetricsCollection - starts the job for collecting resource metrics
    func startResourceMetricsCollection() {
    	initLatestValues()
    
    	resourceMetricsMapMu.Lock()
    	resourceMetricsMap = map[MetricSubsystem]ResourceMetrics{}
    	resourceMetricsMapMu.Unlock()
    	metricsTimer := time.NewTimer(resourceMetricsCollectionInterval)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top