Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 344 for lock2 (0.05 sec)

  1. internal/logger/reqinfo.go

    func (r *ReqInfo) AppendTags(key, val string) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	r.tags = append(r.tags, KeyVal{key, val})
    	return r
    }
    
    // SetTags - sets key/val to ReqInfo.tags
    func (r *ReqInfo) SetTags(key, val string) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		}
    	case debugWaitForExit:
    		c.reconnectMu.Lock()
    		c.handleMsgWg.Wait()
    		c.reconnectMu.Unlock()
    	case debugSetConnPingDuration:
    		c.connMu.Lock()
    		defer c.connMu.Unlock()
    		c.connPingInterval = args[0].(time.Duration)
    		if c.connPingInterval < time.Second {
    			panic("CONN ping interval too low")
    		}
    	case debugSetClientPingDuration:
    		c.connMu.Lock()
    		defer c.connMu.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    ./mc mb --with-lock minio3/newbucket-olock
    sleep 5
    
    enabled_minio2=$(./mc stat --json minio2/newbucket-olock | jq -r .ObjectLock.enabled)
    if [ $? -ne 0 ]; then
    	echo "expected bucket to be mirrored with object-lock but not present, exiting..."
    	exit_1
    fi
    
    if [ "${enabled_minio2}" != "Enabled" ]; then
    	echo "expected bucket to be mirrored with object-lock enabled, exiting..."
    	exit_1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.interning
    org.checkerframework.checker.interning.qual
    org.checkerframework.checker.linear
    org.checkerframework.checker.linear.qual
    org.checkerframework.checker.lock
    org.checkerframework.checker.lock.qual
    org.checkerframework.checker.nullness
    org.checkerframework.checker.nullness.compatqual
    org.checkerframework.checker.nullness.qual
    org.checkerframework.checker.propkey
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
       * retries, there is increased contention and reduced locality,
       * which is still better than alternatives.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. internal/config/identity/plugin/config.go

    func (h *metrics) setConnSuccess(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckSuccess = reqStartTime
    }
    
    func (h *metrics) setConnFailure(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckFailure = reqStartTime
    }
    
    func (h *metrics) updateLastFullMinute(currReqMinute time.Time) {
    	// Assumes the caller has h.Lock()'ed
    	h.lastFullMinute = h.currentMinute
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/untar.go

    	r  io.Reader
    	mu sync.Mutex
    }
    
    func (d *disconnectReader) Read(p []byte) (n int, err error) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.r != nil {
    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. internal/dsync/dsync.go

    package dsync
    
    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 01 19:14:28 UTC 2022
    - 1K bytes
    - Viewed (0)
  10. internal/store/queuestore.go

    		entryLimit: limit,
    		fileExt:    ext,
    		entries:    make(map[string]int64, limit),
    	}
    }
    
    // Open - Creates the directory if not present.
    func (store *QueueStore[_]) Open() error {
    	store.Lock()
    	defer store.Unlock()
    
    	if err := os.MkdirAll(store.directory, os.FileMode(0o770)); err != nil {
    		return err
    	}
    
    	files, err := store.list()
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top