Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EDEADLK (0.06 sec)

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

    	} else {
    		// Already owned: add a channel to wait on.
    		wait = make(chan File)
    		l.queue = append(l.queue, wait)
    	}
    	locks[ino] = l
    	mu.Unlock()
    
    	if wait != nil {
    		wait <- f
    	}
    
    	// Spurious EDEADLK errors arise on platforms that compute deadlock graphs at
    	// the process, rather than thread, level. Consider processes P and Q, with
    	// threads P.1, P.2, and Q.3. The following trace is NOT a deadlock, but will be
    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/cmd/go/internal/lockedfile/lockedfile_test.go

    	})
    
    	f.Close()
    	wait(t)
    }
    
    // TestSpuriousEDEADLK verifies that the spurious EDEADLK reported in
    // https://golang.org/issue/32817 no longer occurs.
    func TestSpuriousEDEADLK(t *testing.T) {
    	// 	P.1 locks file A.
    	// 	Q.3 locks file B.
    	// 	Q.3 blocks on file A.
    	// 	P.2 blocks on file B. (Spurious EDEADLK occurs here.)
    	// 	P.1 unlocks file A.
    	// 	Q.3 unblocks and locks file A.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/syscall/tables_wasip1.go

    	EBADMSG         Errno = 9
    	EBUSY           Errno = 10
    	ECANCELED       Errno = 11
    	ECHILD          Errno = 12
    	ECONNABORTED    Errno = 13
    	ECONNREFUSED    Errno = 14
    	ECONNRESET      Errno = 15
    	EDEADLK         Errno = 16
    	EDESTADDRREQ    Errno = 17
    	EDOM            Errno = 18
    	EDQUOT          Errno = 19
    	EEXIST          Errno = 20
    	EFAULT          Errno = 21
    	EFBIG           Errno = 22
    	EHOSTUNREACH    Errno = 23
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top