- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 595 for lockedm (0.25 sec)
-
cni/pkg/nodeagent/netns_linux.go
} defer func() { err := threadNS.Set() // switch back if err == nil { // Unlock the current thread only when we successfully switched back // to the original namespace; otherwise leave the thread locked which // will force the runtime to scrap the current thread, that is maybe // not as optimal but at least always safe to do. runtime.UnlockOSThread() } }() return toRun() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 31 10:05:36 UTC 2024 - 2.7K bytes - Viewed (0) -
src/runtime/rwmutex_test.go
"runtime/debug" "sync/atomic" "testing" ) func parallelReader(m *RWMutex, clocked chan bool, cunlock *atomic.Bool, cdone chan bool) { m.RLock() clocked <- true for !cunlock.Load() { } m.RUnlock() cdone <- true } func doTestParallelReaders(numReaders int) { GOMAXPROCS(numReaders + 1) var m RWMutex m.Init() clocked := make(chan bool, numReaders) var cunlock atomic.Bool cdone := make(chan bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 22:00:45 UTC 2023 - 4.2K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.go
// blocked goroutines, LockOSThread, pipes, and GOMAXPROCS). //go:build ignore package main import ( "log" "net" "os" "runtime" "runtime/trace" "sync" "time" ) func main() { var wg sync.WaitGroup done := make(chan bool) // Create a goroutine blocked before tracing. wg.Add(1) go func() { <-done wg.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceTest.groovy
import org.gradle.internal.Factory class DefaultWorkerLeaseServiceTest extends AbstractWorkerLeaseServiceTest { def workerLeaseService = workerLeaseService(1) def "can use withLocks to execute a runnable with resources locked"() { boolean executed = false def lock1 = resourceLock("lock1", false) def lock2 = resourceLock("lock1", false) when: workerLeaseService.withLocks([lock1, lock2], runnable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheBuilder.java
* <li>Using {@link org.gradle.cache.FileLockManager.LockMode#Exclusive} will lock the cache on open() in the exclusive mode and keep it locked until {@link PersistentCache#close()} is called.</li> * <li>Using {@link org.gradle.cache.FileLockManager.LockMode#Shared} will lock the cache on open() in the shared mode and keep it locked until {@link PersistentCache#close()} is called.</li>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyLockingProvider.java
*/ ListProperty<String> getIgnoredDependencies(); /** * Confirms that the given lock is not locked. * This allows the lock state for the lock to be dropped if it existed before. * * @param lockId the ID of the lock to confirm is not locked */ void confirmNotLocked(String lockId);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 3.2K bytes - Viewed (0) -
clause/locking.go
package clause const ( LockingStrengthUpdate = "UPDATE" LockingStrengthShare = "SHARE" LockingOptionsSkipLocked = "SKIP LOCKED" LockingOptionsNoWait = "NOWAIT" ) type Locking struct { Strength string Table Table Options string } // Name where clause name func (locking Locking) Name() string { return "FOR" } // Build build where clause func (locking Locking) Build(builder Builder) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Dec 15 08:32:56 UTC 2023 - 773 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_thread_lock.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 16:55:07 UTC 2023 - 939 bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DefaultDependencyLockingProvider.java
} return ignoredEntryFilter; } @Nullable private List<String> findLockedModules(String lockId) { List<String> result = allLockState.get(lockId); if (result == null) { result = lockFileReaderWriter.readLockFile(lockId); } return result; } private synchronized void loadLockState() { if (!uniqueLockStateLoaded) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 14.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
} else { this.mirroredRepositories = Collections.emptyList(); } } public boolean isBlocked() { return blocked; } public void setBlocked(boolean blocked) { this.blocked = blocked; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 11K bytes - Viewed (0)