Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for blockdev (0.16 sec)

  1. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    	// returned when “the lock is blocked by a lock from another process”.
    	// If that process is blocked on some lock that we are holding, then the
    	// resulting livelock is due to a real deadlock (and would manifest as such
    	// when using, for example, the flock implementation of this package).
    	// If the other process is *not* blocked on some other lock that we are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/runtime/crash_unix_test.go

    	"strings"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func init() {
    	if runtime.Sigisblocked(int(syscall.SIGQUIT)) {
    		// We can't use SIGQUIT to kill subprocesses because
    		// it's blocked. Use SIGKILL instead. See issue
    		// #19196 for an example of when this happens.
    		testenv.Sigquit = syscall.SIGKILL
    	}
    }
    
    func TestBadOpen(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. src/net/mptcpsock_linux.go

    	// system. But also fallback in case of any error with MPTCP.
    	//
    	// Possible MPTCP specific error: ENOPROTOOPT (sysctl net.mptcp.enabled=0)
    	// But just in case MPTCP is blocked differently (SELinux, etc.), just
    	// retry with "plain" TCP.
    	return sd.dialTCP(ctx, laddr, raddr)
    }
    
    func (sl *sysListener) listenMPTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 18:48:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ToBeReplacedByLazyProperty.java

     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.METHOD})
    public @interface ToBeReplacedByLazyProperty {
    
        /**
         * Additional comment, e.g. why upgrade of a property is blocked.
         */
        String comment() default "";
    
        /**
         * Link to a GitHub issue if it exists.
         */
        String issue() default "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 09:58:15 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/context/context_test.go

    	}
    	pc.mu.Unlock()
    
    	// parent and children should all be finished.
    	check := func(ctx Context, name string) {
    		select {
    		case <-ctx.Done():
    		default:
    			t.Errorf("<-%s.Done() blocked, but shouldn't have", name)
    		}
    		if e := ctx.Err(); e != Canceled {
    			t.Errorf("%s.Err() == %v want %v", name, e, Canceled)
    		}
    	}
    	check(parent, "parent")
    	check(cancelChild, "cancelChild")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 19:13:01 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/util/internal/DisconnectableInputStream.java

    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * An {@code InputStream} which reads from the source {@code InputStream}. In addition, when the {@code InputStream} is
     * closed, all threads blocked reading from the stream will receive an end-of-stream.
     */
    public class DisconnectableInputStream extends BulkReadInputStream {
        private final Lock lock = new ReentrantLock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  7. pkg/util/iptables/monitor_test.go

    	}
    	return nil
    }
    
    func waitForBlocked(mfe *monitorFakeExec) error {
    	return utilwait.PollImmediate(100*time.Millisecond, time.Second, func() (bool, error) {
    		blocked := mfe.getWasBlocked()
    		return blocked, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. src/os/signal/signal_linux_test.go

    	"syscall"
    	"testing"
    	"time"
    )
    
    const prSetKeepCaps = 8
    
    // This test validates that syscall.AllThreadsSyscall() can reliably
    // reach all 'm' (threads) of the nocgo runtime even when one thread
    // is blocked waiting to receive signals from the kernel. This monitors
    // for a regression vs. the fix for #43149.
    func TestAllThreadsSyscallSignals(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

            replaceBody(new SendFileContents(file), null);
            return this;
        }
    
        private void replaceBody(ResponseProducer producer, BlockingRequest blocker) {
            this.responseBody = producer;
            this.blockingRequest = blocker;
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) throws IOException {
            producer.writeTo(requestId, exchange);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/sigqueue.go

    // variable. It can be in three states:
    // * sigReceiving means that signal_recv is blocked on sig.Note and there are
    //   no new pending signals.
    // * sigSending means that sig.mask *may* contain new pending signals,
    //   signal_recv can't be blocked in this state.
    // * sigIdle means that there are no new pending signals and signal_recv is not
    //   blocked.
    //
    // Transitions between states are done atomically with CAS.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top