Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for operationComplete (0.27 sec)

  1. pkg/util/goroutinemap/goroutinemap.go

    		defer grm.operationComplete(operationName, &err)
    		// Handle panic, if any, from operationFunc()
    		defer k8sRuntime.RecoverFromPanic(&err)
    		return operationFunc()
    	}()
    
    	return nil
    }
    
    // operationComplete handles the completion of a goroutine run in the
    // goRoutineMap.
    func (grm *goRoutineMap) operationComplete(
    	operationName string, err *error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  2. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    	grm.operations = grm.operations[:len(grm.operations)-1]
    }
    
    func (grm *nestedPendingOperations) operationComplete(key operationKey, err *error) {
    	// Defer operations are executed in Last-In is First-Out order. In this case
    	// the lock is acquired first when operationCompletes begins, and is
    	// released when the method finishes, after the lock is released cond is
    	// signaled to wake waiting goroutine.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/DefaultCancellableOperationManager.java

                                // Ignore input received after the monitor operation has been completed
                                if (operationCompleted.get()) {
                                    break;
                                }
                                if (isCancellation(c) && !operationCompleted.get()) {
                                    cancellationToken.cancel();
                                    break;
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

        private final ReentrantLock lock = new ReentrantLock();
        private final Condition workAvailable = lock.newCondition();
        private final Condition operationsComplete = lock.newCondition();
        private QueueState queueState = QueueState.Working;
        private int workerCount;
        private int pendingOperations;
        private final Deque<T> workQueue = new LinkedList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top